nodejs/node-addon-api
Module for using Node-API from C++ observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 35.0
- age_days: 3493
- days_rel: 21
- days_push: 12
- n_releases_24m: 13
Adoption not part of the score
2408 stars · 498 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A header-only C++ wrapper library for Node-API (N-API) that simplifies writing native Node.js addons in C++. It provides C++ object model and exception-handling semantics with low overhead over the C-based Node-API.
Use cases
- write node.js native addons in c++
- wrap a c++ library for use in node
- build abi-stable native modules for node.js
- use c++ exception handling in node addons
- avoid rewriting addons for every node.js version
When to choose
- you need C++ performance or access to native libraries from Node.js
- you want ABI stability across Node.js versions via Node-API
- you prefer C++ object model and exceptions over raw C Node-API
When to avoid
- your addon is pure JavaScript and needs no native code
- you target Node.js versions older than the supported LTS range
- you need a C API directly rather than a C++ wrapper
Facets
library · maturity stable
sdk developer-tools plugin-system developer-tools backend cross-platform cpp cross-platform node-api native-addons header-only c++-bindings napi nodejs
1 source
- readme: https://github.com/nodejs/node-addon-api · fetched 2026-08-28 · c4ecc55d3967
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nodejs/node-addon-api | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="nodejs/node-addon-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem