| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ _Addons_ are dynamically-linked shared objects written in C++. The | |||
| 9 | 9 | Addons provide an interface between JavaScript and C/C++ libraries. | |
| 10 | 10 | ||
| 11 | 11 | There are three options for implementing addons: Node-API, nan, or direct | |
| 12 | - use of internal V8, libuv and Node.js libraries. Unless there is a need for | ||
| 12 | + use of internal V8, libuv, and Node.js libraries. Unless there is a need for | ||
| 13 | 13 | direct access to functionality which is not exposed by Node-API, use Node-API. | |
| 14 | 14 | Refer to [C/C++ addons with Node-API](n-api.md) for more information on | |
| 15 | 15 | Node-API. | |
@@ -40,7 +40,7 @@ involving knowledge of several components and APIs: | |||
| 40 | 40 | ||
| 41 | 41 | * Node.js includes other statically linked libraries including OpenSSL. These | |
| 42 | 42 | other libraries are located in the `deps/` directory in the Node.js source | |
| 43 | - tree. Only the libuv, OpenSSL, V8 and zlib symbols are purposefully | ||
| 43 | + tree. Only the libuv, OpenSSL, V8, and zlib symbols are purposefully | ||
| 44 | 44 | re-exported by Node.js and may be used to various extents by addons. See | |
| 45 | 45 | [Linking to libraries included with Node.js][] for additional information. | |
| 46 | 46 | ||
@@ -393,7 +393,7 @@ try { | |||
| 393 | 393 | ||
| 394 | 394 | ### Linking to libraries included with Node.js | |
| 395 | 395 | ||
| 396 | - Node.js uses statically linked libraries such as V8, libuv and OpenSSL. All | ||
| 396 | + Node.js uses statically linked libraries such as V8, libuv, and OpenSSL. All | ||
| 397 | 397 | addons are required to link to V8 and may link to any of the other dependencies | |
| 398 | 398 | as well. Typically, this is as simple as including the appropriate | |
| 399 | 399 | `#include <...>` statements (e.g. `#include <v8.h>`) and `node-gyp` will locate | |
| Back | FazBrowse Home | New Git URL |
0 commit comments