node-addon-example

0.1.5 • Public • Published

node-addon-example

Build Status

Sample application of a Node C++ addon packaged with node-pre-gyp.

If you are interested in learning how to write C++ addons see the official guide.

This repo is intended as starter code for your own C++ module - feel free to copy and modify. The docs below are meant to be a template for how you might document your module once packaged with node-pre-gyp.

Depends

  • Node.js 0.10.x, 0.12.x, 4, or 5

Install

Install from binary:

npm install

Install from source:

npm install --build-from-source

Developing

The node-pre-gyp tool is used to handle building from source and packaging.

Simply run:

./node_modules/.bin/node-pre-gyp build

Packaging

./node_modules/.bin/node-pre-gyp build package

Publishing

./node_modules/.bin/node-pre-gyp publish

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.5
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.5
    0
  • 0.1.4
    11
  • 0.1.3
    0
  • 0.1.2
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i node-addon-example

Weekly Downloads

11

Version

0.1.5

License

none

Last publish

Collaborators

  • springmeyer