An open API service indexing awesome lists of open source software.

https://github.com/nwutils/nw-node-addon-example

Examples of building NW.js Node Addons via node-gyp (nan, cmake and ffi coming soon!)
https://github.com/nwutils/nw-node-addon-example

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
1. `npm i` to install Node modules
1. `npm run gyp` to download Node headers and build Node Native Addon
1. `npm run nw` to run NW.js app.