Skip to content

Commit 4c1f85b

Browse files
Trotttargos
authored andcommitted
doc: revise addons introduction for brevity and clarity
PR-URL: #30756 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 1c452f0 commit 4c1f85b

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)