Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.03 KB

ironfish-rust-nodejs

Wraps ironfish-rust as a NodeJS native addon.

This project was bootstrapped by create-neon.

To learn more about Neon, see the Neon documentation.

Available Scripts

In the project directory, you can run:

npm install

Installs the project, including running npm run build.

npm build

Builds the Node addon (index.node) from source.

Additional cargo build arguments may be passed to npm build and npm build-* commands. For example, to enable a cargo feature:

npm run build -- --feature=beetle

npm build-debug

Alias for npm build.

npm build-release

Same as npm build but, builds the module with the release profile. Release builds will compile slower, but run faster.