napi-sys

May 8, 2019 ยท View on GitHub

Travis Build Status AppVeyor Build Status

Low-level N-API bindings for Node.js addons written in Rust.

See the napi crate for the high-level API.

Building

Requirements:

  • Install bindgen (cargo install bindgen) and its requirements
  • Install rustfmt (rustup component add rustfmt)
  • Install node.js

After doing that, you can build a new version of the bindings like so:

./scripts/update-bindings.sh