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: nodejs#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 committed Jun 5, 2017
1 parent 2715c9f commit 7d9dfda
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 7d9dfda

Please sign in to comment.