Skip to content

Commit 69af43e

Browse files
mhdawsonBridgeAR
authored andcommitted
doc: clarify N-API version Matrix
I was asked by a community member if they needed to recompile for v12.x based on the version matrix. Add additional context to help ensure it is clear that this is not the case. PR-URL: #27942 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Christopher Hiller <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9ced334 commit 69af43e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/n-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ available to the module code.
145145

146146
## N-API Version Matrix
147147

148+
N-API versions are additive and versioned independantly from Node.js.
149+
Version 4 is an extension to version 3 in that it has all of the APIs
150+
from version 3 with some additions. This means that you
151+
do not need to recompile for new versions of Node.js which are
152+
listed as supporting a later version.
153+
148154
| | 1 | 2 | 3 | 4 |
149155
|:-----:|:-------:|:--------:|:--------:|:--------:|
150156
| v6.x | | | v6.14.2* | |

0 commit comments

Comments
 (0)