From 510eb3a6ebf10f3e289d20e09c59aa01d8d9dbcd Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 1 Dec 2019 21:06:17 -0800 Subject: [PATCH] doc: revise addons introduction for brevity and clarity PR-URL: https://github.com/nodejs/node/pull/30756 Reviewed-By: Daniel Bevenius Reviewed-By: Beth Griggs Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Luigi Pinca --- doc/api/addons.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index 6e5e9bf18c8418..8b17d6b417b8e8 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -3,10 +3,9 @@ -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