Skip to content
napi-bindings

Search

Search pages, projects and the Node-API reference

Language bindings

napi-go

0.x

Native Node.js addons written in Go: annotated functions, structs and classes become a typed npm package.

1 star0 forksv0.1.0· Nov 12, 2026Apache-2.0
sys/include/README.mdEdit on GitHub

Vendored Node-API Headers

Unmodified copy of include/*.h and symbols.js from the npm package node-api-headers 1.9.0 (MIT license, see LICENSE).

  • The headers are used for types only: functions are called through the generated function pointer table (../zz_api.h), resolved at runtime from the host process.
  • symbols.js provides the minimum Node-API version for each function.
  • The package does not include experimental APIs (NAPI_EXPERIMENTAL).

To update: replace these files with those from a newer version of the package, update the version number above and in internal/gen (headersVersion), then run go generate ./sys.