@@ -14,7 +14,7 @@ There are three options for implementing addons:
1414* ` nan ` ([ Native Abstractions for Node.js] [ ] )
1515* direct use of public V8, libuv, and Node.js interfaces
1616
17- This rest of this document focuses on the latter, requiring
17+ The rest of this document focuses on the latter, requiring
1818knowledge of multiple components and APIs:
1919
2020* [ V8] [ ] : the C++ library Node.js uses to provide the
@@ -113,7 +113,7 @@ To integrate with the npm ecosystem, see the [Building][] section.
113113
114114### Context-aware addons
115115
116- Addons defined with ` NODE_MODULE() ` can not be loaded in multiple contexts or
116+ Addons defined with ` NODE_MODULE() ` cannot be loaded in multiple contexts or
117117multiple threads at the same time.
118118
119119There are environments in which Node.js addons may need to be loaded multiple
@@ -255,7 +255,7 @@ changes:
255255In order to be loaded from multiple Node.js environments,
256256such as a main thread and a Worker thread, an add-on needs to either:
257257
258- * Be an [ Node-API] [ ] addon.
258+ * Be a [ Node-API] [ ] addon.
259259* Be declared as context-aware using ` NODE_MODULE_INIT() ` as described above.
260260
261261In order to support [ ` Worker ` ] [ ] threads, addons need to clean up any resources
@@ -487,13 +487,13 @@ See [C/C++ addons with Node-API][Node-API].
487487
488488## Addon examples
489489
490- Following are some example addons intended to help developers get started. The
490+ The following are some example addons intended to help developers get started. The
491491examples use the V8 APIs. Refer to the online [ V8 reference] [ v8-docs ]
492492for help with the various V8 calls, and V8's [ Embedder's Guide] [ ] for an
493493explanation of several concepts used such as handles, scopes, function
494494templates, etc.
495495
496- Each of these examples using the following ` binding.gyp ` file:
496+ Each of these examples uses the following ` binding.gyp ` file:
497497
498498``` json
499499{
@@ -1043,7 +1043,7 @@ provided by the underlying V8 JavaScript engine. They are subject to change
10431043or removal at any time. They are not documented by Node.js or V8, and they
10441044should never be used outside of testing.
10451045
1046- During shutdown of the process or worker threads destructors are not called
1046+ During shutdown of the process or worker threads, destructors are not called
10471047by the JS engine. Therefore it's the responsibility of the user to track
10481048these objects and ensure proper destruction to avoid resource leaks.
10491049
@@ -1274,7 +1274,7 @@ console.log(obj2.plusOne());
12741274
12751275In addition to wrapping and returning C++ objects, it is possible to pass
12761276wrapped objects around by unwrapping them with the Node.js helper function
1277- ` ObjectWrap::Unwrap ` . The following examples shows a function ` add() `
1277+ ` ObjectWrap::Unwrap ` . The following example shows a function ` add() `
12781278that can take two ` MyObject ` objects as input arguments:
12791279
12801280<!-- addon-verify-file passing_wrapped_objects_around/addon.cc -->
0 commit comments