@@ -21,7 +21,7 @@ It is important to remember that *other* Node.js interfaces such as
21
21
` libuv ` (included in a project via ` #include <uv.h> ` ) are not ABI-stable across
22
22
Node.js major versions. Thus, an addon must use N-API and/or ` node-addon-api `
23
23
exclusively 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
25
25
order to benefit from ABI stability across Node.js major versions. Node.js
26
26
provides an [ ABI stability guide] [ ] containing a detailed explanation of ABI
27
27
stability in general, and the N-API ABI stability guarantee in particular.
@@ -47,14 +47,21 @@ to ideas specified in the **ECMA262 Language Specification**.
47
47
- ** [ Contributors] ( #contributors ) **
48
48
- ** [ License] ( #license ) **
49
49
50
- ## ** Current version: 2 .0.0**
50
+ ## ** Current version: 3 .0.0**
51
51
52
52
(See [ CHANGELOG.md] ( CHANGELOG.md ) for complete Changelog)
53
53
54
54
[ ![ 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/ )
55
55
56
56
<a name =" setup " ></a >
57
57
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
+
58
65
## Setup
59
66
- [ Installation and usage] ( doc/setup.md )
60
67
- [ node-gyp] ( doc/node-gyp.md )
0 commit comments