« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1703 ms

GitHub - nodejs/node-addon-api: Module for using Node-API from C++

Source: https://github.com/nodejs/node-addon-api

Repository navigation

node-addon-api
Public

About

Module for using Node-API from C++

Topics

node nodejs

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

2.4k stars

Watchers

60 watching

Forks

499 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


873 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
benchmark benchmark    
doc doc    
test test    
tools tools    
unit-test unit-test    
.clang-format .clang-format    
.editorconfig .editorconfig    
.gitignore .gitignore    
.npmrc .npmrc    
.release-please-manifest.json .release-please-manifest.json    
CHANGELOG.md CHANGELOG.md    
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md    
CONTRIBUTING.md CONTRIBUTING.md    
LICENSE.md LICENSE.md    
README.md README.md    
appveyor.yml appveyor.yml    
common.gypi common.gypi    
eslint.config.js eslint.config.js    
except.gypi except.gypi    
index.js index.js    
napi-inl.deprecated.h napi-inl.deprecated.h    
napi-inl.h napi-inl.h    
napi.h napi.h    
node_addon_api.gyp node_addon_api.gyp    
node_api.gyp node_api.gyp    
noexcept.gypi noexcept.gypi    
nothing.c nothing.c    
package-support.json package-support.json    
package.json package.json    
release-please-config.json release-please-config.json    

Repository files navigation

node-addon-api module

This module contains header-only C++ wrapper classes which simplify the use of the C based Node-API 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 doc directory.

Current version: 8.9.2

(See CHANGELOG.md for complete Changelog)

node-addon-api is based on Node-API 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 22.x. The minimum supported C++ standard follows that of the oldest supported Node.js release line. The current version therefore requires C++17 or later.

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 matrix to determine which Node.js versions provide a given Node-API version. The following badges are available:

Contributing

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

Team members

Active

Name GitHub Link
Anna Henningsen addaleax
Chengzhong Wu legendecas
Jack Xia JckXia
Kevin Eady KevinEady
Michael Dawson mhdawson
Nicola Del Gobbo NickNaso
Vladimir Morozov vmoroz
Emeritus

Emeritus

Name GitHub Link
Arunesh Chandra aruneshchandra
Benjamin Byholm kkoopa
Gabriel Schulhof gabrielschulhof
Hitesh Kanwathirtha digitalinfinity
Jason Ginchereau jasongin
Jim Schlight jschlight
Sampson Gao sampsongao
Taylor Woll boingoing

License

Licensed under MIT

About

Module for using Node-API from C++

Topics

node nodejs

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

2.4k stars

Watchers

60 watching

Forks

499 forks Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages