Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gfx/hello-nodejs-addon-with-cmakejs
https://github.com/gfx/hello-nodejs-addon-with-cmakejs
cmake-js example nodejs-native-addon
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gfx/hello-nodejs-addon-with-cmakejs
- Owner: gfx
- Created: 2018-08-28T01:33:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T01:38:34.000Z (over 6 years ago)
- Last Synced: 2024-12-17T03:59:53.519Z (17 days ago)
- Topics: cmake-js, example, nodejs-native-addon
- Language: CMake
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-nodejs-addon-with-cmakejs
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!
## How to build
* build: `npm run build` (it just calls `cmake-js`)
* test: `npm run test`## See Also
* cmake-js: https://github.com/cmake-js/cmake-js
* N-API: https://nodejs.org/api/n-api.html