/neon-bridge

Automatically load Neon modules.

Primary LanguageJavaScript

Neon-bridge

npm

Automatically load Neon modules.

API

var addon = require('neon-bridge').load();

You can override defaults by passing an optional options object to the neon-bridge module:

Option Description Type Default
root project root string nearest containing directory of caller with package.json or node_modules
name library name string parse($manifest).package.name
manifest manifest path path $root/Cargo.toml

License

MIT