@@ -21,7 +21,7 @@ It is important to remember that *other* Node.js interfaces such as
2121` libuv ` (included in a project via ` #include <uv.h> ` ) are not ABI-stable across
2222Node.js major versions. Thus, an addon must use N-API and/or ` node-addon-api `
2323exclusively and build against a version of Node.js that includes an
24- implementation of N-API (meaning a version of Node.js newer than 6.14.2 ) in
24+ implementation of N-API (meaning an active LTS version of Node.js) in
2525order to benefit from ABI stability across Node.js major versions. Node.js
2626provides an [ ABI stability guide] [ ] containing a detailed explanation of ABI
2727stability in general, and the N-API ABI stability guarantee in particular.
@@ -47,14 +47,21 @@ to ideas specified in the **ECMA262 Language Specification**.
4747- ** [ Contributors] ( #contributors ) **
4848- ** [ License] ( #license ) **
4949
50- ## ** Current version: 2 .0.0**
50+ ## ** Current version: 3 .0.0**
5151
5252(See [ CHANGELOG.md] ( CHANGELOG.md ) for complete Changelog)
5353
5454[ ![ NPM] ( https://nodei.co/npm/node-addon-api.png?downloads=true&downloadRank=true )] ( https://nodei.co/npm/node-addon-api/ ) [ ![ NPM] ( https://nodei.co/npm-dl/node-addon-api.png?months=6&height=1 )] ( https://nodei.co/npm/node-addon-api/ )
5555
5656<a name =" setup " ></a >
5757
58+ node-addon-api is based on [ N-API] ( https://nodejs.org/api/n-api.html ) and supports using different N-API versions.
59+ This allows addons built with it to run with Node.js versions which support the targeted N-API version.
60+ ** However** the node-addon-api support model is to support only the active LTS Node.js versions. This means that
61+ every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.
62+
63+ The oldest Node.js version supported by the current version of node-addon-api is Node.js 10.x.
64+
5865## Setup
5966 - [ Installation and usage] ( doc/setup.md )
6067 - [ node-gyp] ( doc/node-gyp.md )
0 commit comments