Skip to content

Commit a500eee

Browse files
TrottBethGriggs
authored andcommitted
doc: revise addons introduction for brevity and clarity
PR-URL: #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>
1 parent 005b601 commit a500eee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/api/addons.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
<!--introduced_in=v0.10.0-->
44
<!-- type=misc -->
55

6-
Node.js Addons are dynamically-linked shared objects, written in C++, that
7-
can be loaded into Node.js using the [`require()`][require] function, and used
8-
just as if they were an ordinary Node.js module. They are used primarily to
9-
provide an interface between JavaScript running in Node.js and C/C++ libraries.
6+
Addons are dynamically-linked shared objects written in C++. The
7+
[`require()`][require] function can load Addons as ordinary Node.js modules.
8+
Addons provide an interface between JavaScript and C/C++ libraries.
109

1110
There are three options for implementing Addons: N-API, nan, or direct
1211
use of internal V8, libuv and Node.js libraries. Unless you need direct

0 commit comments

Comments
 (0)