package
Hello world app packaged with node-pre-gyp
npm install node-addon-example2GitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
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 meant to be copied from as start code for your own C++ module. And the docs below are meant to be a template for how you might document your module once packaged with node-pre-gyp.
Install from binary:
npm installInstall from source:
npm install --build-from-sourceThe node-pre-gyp tool is used to handle building from source and packaging.
To recompile only the C++ files that have changed, first put node-gyp and node-pre-gyp on your PATH:
export PATH=`npm explore npm -g -- pwd`/bin/node-gyp-bin:./node_modules/.bin:${PATH}Then simply run:
node-pre-gyp buildnode-pre-gyp build packagenpm install aws-sdk
node-pre-gyp publishEstimated unpacked size across 32 packages.
6.3 MB
Includes dependencies.