Node.js Addons are dynamically-linked shared objects, written in C++, that can be loaded into Node.js using the require() function, and used just as if they were an ordinary Node.js module. They are used primarily to provide an interface between JavaScript running in Node.js and C/C++ libraries.
git clone repo_name # or clone your own fork
cd repo_name
rm rf .git
npm install
node-gyp config build
Go to your project directory.
node-gyp config build
node src/index.js
node src/benchmark.js
- Mac OS X 10.13.4
- Processor: 2.7 GHz Intel Core i5
- Memory: 8 GB 1867 MHz DDR3