Skip to content

Commit e991cd7

Browse files
mhdawsonjasnell
authored andcommitted
doc: add ref to option to enable n-api
Since its guarded in by a command line option say that in the docs and provide the option that needs to be used to enable it. PR-URL: #13406 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießn <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 7be1a1c commit e991cd7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/api/n-api.md

+8
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ For example:
6060
#include <node_api.h>
6161
```
6262

63+
As the feature is experimental it must be enabled with the
64+
following command line
65+
[option](https://nodejs.org/dist/latest-v8.x/docs/api/cli.html#cli_napi_modules):
66+
67+
```bash
68+
--napi-modules
69+
```
70+
6371
## Basic N-API Data Types
6472

6573
N-API exposes the following fundamental datatypes as abstractions that are

0 commit comments

Comments
 (0)