nodejs/node-addon-api

Module for using Node-API from C++

Hosted by Node.js · part of OpenJS Foundation

View on GitHub ↗Jump to charts ↓Open shareable report →

nodejs/node-addon-api has 2k+ stars and 450+ forks on GitHub, is written in C++, and was last pushed on Oct 13, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on October 12th, 2026
Created on February 8th, 2017
Open Issues & Pull Requests: 14 (+0)
GitHub issues: Enabled
Number of forks: 497
Total Stargazers: 2,410 (+0)
Total Subscribers: 59 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 26.6 hours
Mean response time: 15.4 days
90th percentile: 28.0 days
Tracked items: 55

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 475 days
Stale 30+ days: 10
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • never-stale (9)
  • stale (7)
  • SemVer-major (6)
  • blocked (2)
  • good first issue (2)
  • doc (1)
  • enhancement (1)
  • help wanted (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

node-addon-api is a header-only C++ wrapper library that simplifies the use of Node-API when building native Node.js addons in C++.

The tool solves the complexity of working directly with Node-API's C interface by providing C++ object model abstractions and exception handling semantics with low overhead. Rather than calling C functions directly, developers write idiomatic C++ code that the wrapper classes translate to the underlying Node-API calls, reducing boilerplate and potential errors.

Developers building native Node.js addons should choose this library if they prefer C++ over C and want to leverage modern C++ features while maintaining compatibility across Node.js versions. The tool is designed for addon maintainers who need their code to work across multiple active LTS Node.js releases. The project supports only active LTS versions, meaning a new major version is released annually when an LTS line goes out of service. The oldest supported Node.js version determines the minimum C++ standard required; the current version requires C++17 or later. Addon maintainers can use Node-API version badges to signal which Node.js major versions their addon supports.

The project maintains active engagement with the community through a structured contribution process documented in its guidelines. Development activity shows consistent attention to compatibility across Node.js release cycles, with the support model explicitly tied to LTS schedules rather than attempting to support all historical versions. The tool is updated to track changes in Node-API as new versions are released by Node.js.