node-addon-api module

codecovarrow-up-right

NPMarrow-up-right NPMarrow-up-right

This module contains header-only C++ wrapper classes which simplify the use of the C based Node-APIarrow-up-right provided by Node.js when using C++. It provides a C++ object model and exception handling semantics with low overhead.

API References

API references are available in the docarrow-up-right directory.

Current version: 8.5.0

(See CHANGELOG.mdarrow-up-right for complete Changelog)

node-addon-api is based on Node-APIarrow-up-right and supports using different Node-API versions. This allows addons built with it to run with Node.js versions which support the targeted Node-API version. However the node-addon-api support model is to support only the active LTS Node.js versions. This means that every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.

The oldest Node.js version supported by the current version of node-addon-api is Node.js 18.x.

Badges

The use of badges is recommended to indicate the minimum version of Node-API required for the module. This helps to determine which Node.js major versions are supported. Addon maintainers can consult the Node-API support matrixarrow-up-right to determine which Node.js versions provide a given Node-API version. The following badges are available:

Node-API v1 Badge
Node-API v2 Badge
Node-API v3 Badge
Node-API v4 Badge
Node-API v5 Badge
Node-API v6 Badge
Node-API v7 Badge
Node-API v8 Badge
Node-API v9 Badge
Node-API Experimental Version Badge

Contributing

We love contributions from the community to node-addon-api! See CONTRIBUTING.mdarrow-up-right for more details on our philosophy around extending this module.

Team members

Active

Name
GitHub Link
chevron-rightEmeritushashtag

Emeritus

License

Licensed under MIT

Last updated