Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JasonLin6086/node-addon-examples

Open more actions menu
 
 

Repository files navigation

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 ./

About

Node.js C++ addon examples from http://nodejs.org/docs/latest/api/addons.html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.8%
  • JavaScript 10.4%
  • Python 7.8%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.