/napi-prebuild-starter

Create and package Node.js N-API modules using prebuildify and Azure pipelines

Primary LanguageC++MIT LicenseMIT

N-API Prebuild Starter

Build Status

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 (x64 and ia32)
  • macOS (x64)
  • Linux (x64, ARM and ARM64)

Install it just like any other npm module not containing any native C++ code:

npm i @lgeiger/napi-prebuild-starter

Further reading: