0.11.3 • Published 10 years ago

native-module v0.11.3

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

native-module

This project features example native code (i.e. C++) modules for Node.js. It is based on the code from the C/C++ Addons section of the Node.js API Documentation.

Installation

To build the modules, first install node-gyp.

sudo npm install -g node-gyp

Next, configure the project.

node-gyp configure

Now, build the modules.

node-gyp build

NOTE: The current version of the project supports Node.js v0.11.13. To make sure the examples run correctly, use that version.

Use

To run the provided examples, call node the ordinary way.

node index.js