This repository has been archived by the owner. It is now read-only.
C++ JavaScript Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6a51626 Aug 7, 2015

Node.js Addon Examples

See the Node.js C++ addons page for details of the examples here.

Each directory contains a subdirectory for:

  • Node 0.10: Mostly compatible with Node 0.8 and even 0.6, older style V8 programming
  • Node 0.12: Newer style V8 programming, compatible with Node 0.11+
  • NAN: The example rewritten using NAN for compatibility with Node 0.8 -> 0.11+

You will need node-gyp installed as a global:

$ sudo npm install node-gyp -g

In each example directory, run:

$ npm install
$ node-gyp rebuild
$ node ./