Skip to content

Examples of building NW.js Node Addons via node-gyp (nan, cmake and ffi coming soon!)

License

Notifications You must be signed in to change notification settings

nwutils/nw-node-addon-example

Repository files navigation

nw-node-addon-gyp-example

Build Node Addon using node-gyp. NW.js Node headers are downloaded and passed to node-gyp via the --nodedir parameter.

Note: This approach works from v0.83 onward.

Getting Started

  1. Clone repo
  2. npm i to install Node modules
  3. npm run gyp to download Node headers and build Node Native Addon
  4. npm run nw to run NW.js app.

About

Examples of building NW.js Node Addons via node-gyp (nan, cmake and ffi coming soon!)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published