nwutils / nw-node-addon-example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!)

License:MIT License


Languages

Language:JavaScript 73.8%Language:C++ 12.3%Language:HTML 11.5%Language:Python 2.4%