Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 374 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 374 Bytes

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.