This is an example project that compiles with cmake-js
, not node-gyp
.
cmake-js
is a nodejs native addon build tool that does not depend on node-gyp
(thus, idependent from Pyton 2.x).
cmake-js
+ N-API leads the new age of NodeJS native addons!
- build:
npm run build
(it just callscmake-js
) - test:
npm run test
- cmake-js: https://github.com/cmake-js/cmake-js
- N-API: https://nodejs.org/api/n-api.html