node-addon-api
8.9.2 · 12 Aug 2026MIT139.4M / weekRepositorynpmAtom feed
5.1.0 is the newest release of 5.x.
In short
5 new4 fixed6 changed
Release note
SemVer major release to pull changes since the last release. The main motivations for the release are:
Drop the support for Node.js v12.x.
Marked methods of wrapper classes
const.Enabled wrapping
Napinamespace with custom namespace.Added an override to
Napi::Function::Callto call it with a c-style array
ofNapi::Value's.Improved the test framework. Added the possibility to run subsets of tests
more easily.Added test for
Napi::AsyncContextclass.Fixed ramdom failure on test for
Napi::ThreadSafeFunctioneNapi::TypedThreadSafeFunctionclass.Fixed compilation problem on debian 8 system.
Added test for
Napi::Object::Set()method.Added some clarifications for
Napi::ClassPropertyDescriptor.Added clarification about weak reference for
Napi::ObjectWrap.Some minor fixes all over the documentation.
Fixed
eslintconfiguration.Fixed CI configuration for Windows.
Enabled pre-commit
ClangFormaton Windows.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.