summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-12-01 21:06:17 -0800
committerRich Trott <rtrott@gmail.com>2019-12-03 22:47:18 -0800
commitdb0154f16a08925744d67417e010c285368d1233 (patch)
tree632508d2098bcff6634c3adb32a09c664602ca3a
parent9ed67f44e29090812444a87e2fe993a8110f31a7 (diff)
downloadandroid-node-v8-db0154f16a08925744d67417e010c285368d1233.tar.gz
android-node-v8-db0154f16a08925744d67417e010c285368d1233.tar.bz2
android-node-v8-db0154f16a08925744d67417e010c285368d1233.zip
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>
-rw-r--r--doc/api/addons.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/addons.md b/doc/api/addons.md
index 6e5e9bf18c..8b17d6b417 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