diff options
author | Rich Trott <rtrott@gmail.com> | 2019-12-02 08:06:17 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-12-04 09:47:18 +0300 |
commit | db0154f16a08925744d67417e010c285368d1233 (patch) | |
tree | 632508d2098bcff6634c3adb32a09c664602ca3a /doc/api/addons.md | |
parent | 9ed67f44e29090812444a87e2fe993a8110f31a7 (diff) |
doc: revise addons introduction for brevity and clarity
PR-URL: https://github.com/nodejs/node/pull/30756
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/addons.md')
-rw-r--r-- | doc/api/addons.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/addons.md b/doc/api/addons.md index 6e5e9bf18c8..8b17d6b417b 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -3,10 +3,9 @@ <!--introduced_in=v0.10.0--> <!-- type=misc --> -Node.js Addons are dynamically-linked shared objects, written in C++, that -can be loaded into Node.js using the [`require()`][require] function, and used -just as if they were an ordinary Node.js module. They are used primarily to -provide an interface between JavaScript running in Node.js and C/C++ libraries. +Addons are dynamically-linked shared objects written in C++. The +[`require()`][require] function can load Addons as ordinary Node.js modules. +Addons provide an interface between JavaScript and C/C++ libraries. There are three options for implementing Addons: N-API, nan, or direct use of internal V8, libuv and Node.js libraries. Unless you need direct |