Skip to content

Commit

Permalink
doc: add ref to option to enable n-api
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mhdawson authored and jasnell committed Jun 7, 2017
1 parent 7be1a1c commit e991cd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ For example:
#include <node_api.h>
```

As the feature is experimental it must be enabled with the
following command line
[option](https://nodejs.org/dist/latest-v8.x/docs/api/cli.html#cli_napi_modules):

```bash
--napi-modules
```

## Basic N-API Data Types

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

0 comments on commit e991cd7

Please sign in to comment.