Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ opt-in to access those APIs:
In this case the entire API surface, including any experimental APIs, will be
available to the module code.

### Badges
Comment thread
ddlan marked this conversation as resolved.

The use of badges is recommended to indicate the minimum version of N-API
required for the module. This helps to determine which Node.js major versions
are supported. The following badges are available:

![N-API v1 Badge](/doc/api_assets/N-API%20v1%20Badge.svg)
![N-API v2 Badge](/doc/api_assets/N-API%20v2%20Badge.svg)
![N-API v3 Badge](/doc/api_assets/N-API%20v3%20Badge.svg)
![N-API Experimental Version Badge](/doc/api_assets/N-API%20Experimental%20Version%20Badge.svg)

Comment thread
ddlan marked this conversation as resolved.
## N-API Version Matrix

| | 1 | 2 | 3 |
Expand Down
1 change: 1 addition & 0 deletions doc/api_assets/N-API Experimental Version Badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/api_assets/N-API v1 Badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/api_assets/N-API v2 Badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/api_assets/N-API v3 Badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.