Skip to content

Commit

Permalink
doc: clarify N-API version Matrix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mhdawson authored and BridgeAR committed Jun 17, 2019
1 parent 9ced334 commit 69af43e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ available to the module code.

## N-API Version Matrix

N-API versions are additive and versioned independantly from Node.js.
Version 4 is an extension to version 3 in that it has all of the APIs
from version 3 with some additions. This means that you
do not need to recompile for new versions of Node.js which are
listed as supporting a later version.

| | 1 | 2 | 3 | 4 |
|:-----:|:-------:|:--------:|:--------:|:--------:|
| v6.x | | | v6.14.2* | |
Expand Down

0 comments on commit 69af43e

Please sign in to comment.