Skip to content

This project features example native code (i.e. C++) modules for Node.js.

License

Notifications You must be signed in to change notification settings

Elzair/native-module

Repository files navigation

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

About

This project features example native code (i.e. C++) modules for Node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published