0.3.1 • Published 7 years ago
@lgeiger/napi-prebuild-starter v0.3.1
N-API Prebuild Starter
This is a small sample repository that uses prebuildify and Azure Pipelines to automatically build and publish a fully contained N-API hello world app.
It can be installed without the need for setting up a complete node-gyp build toolchain. It ships with prebuilt binaries for the following platforms:
- Windows (
x64andia32) - macOS (
x64) - Linux (
x64,ARMandARM64)
Install it just like any other npm module not containing any native C++ code:
npm i @lgeiger/napi-prebuild-starterFurther reading:
- https://www.nearform.com/blog/the-future-of-native-modules-in-node-js/
- https://github.com/mafintosh/prebuildify
- https://azure.microsoft.com/en-us/services/devops/pipelines/
- https://nodejs.org/api/n-api.html
- https://github.com/nodejs/node-addon-examples/tree/master/1_hello_world
- https://github.com/nodejs/node-addon-api