diff --git a/doc/setup.md b/doc/setup.md index d716a0326..29bb1a743 100644 --- a/doc/setup.md +++ b/doc/setup.md @@ -17,11 +17,11 @@ To use **Node-API** in a native module: 1. Add a dependency on this package to `package.json`: -```json - "dependencies": { - "node-addon-api": "*", - } -``` + ```json + "dependencies": { + "node-addon-api": "*", + } + ``` 2. Decide whether the package will enable C++ exceptions in the Node-API wrapper, and reference this package as a dependency in `binding.gyp`. @@ -32,51 +32,51 @@ To use **Node-API** in a native module: To use without C++ exceptions, add the following to `binding.gyp`: -```gyp - 'dependencies': [ - "