Skip to content

ORESoftware/node-addon-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Somewhere in this file, it should tell users whether NAN or NAPI is the style to use for the most recent Node.js version. See: nodejs#74

thx -alex

Node.js Addon Examples

This repository is the home of the Addon Examples.

The directory structure is as follows:

<name of example>
  |
  +--- <implementation 1>
  |      |
  |      +--- files...
  +--- <implementation 2>
  .      |
  .      +--- files...
  .

Implementations are named either after Node.js versions (node_0.10, node_0.12, etc), or Node.js addon implementation APIs (nan, napi, or node-addon-api).

Implementations against unsupported versions of Node.js are provided for completess and historical context. They are not maintained.

In each example's implementation subdirectory, run

$ npm install
$ node ./

to see the example in action.

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++ 57.6%
  • C 24.1%
  • JavaScript 10.9%
  • Python 7.4%