@@ -26,10 +26,11 @@ values. Concepts and operations generally map to ideas specified in the
26
26
- ** [ Examples] ( #examples ) **
27
27
- ** [ Tests] ( #tests ) **
28
28
- ** [ More resource and info about native Addons] ( #resources ) **
29
+ - ** [ Code of Conduct] ( CODE_OF_CONDUCT.md ) **
29
30
- ** [ Contributors] ( #contributors ) **
30
31
- ** [ License] ( #license ) **
31
32
32
- ## ** Current version: 1.0 .0**
33
+ ## ** Current version: 1.1 .0**
33
34
34
35
(See [ CHANHELOG.md] ( CHANGELOG.md ) for complete Changelog)
35
36
@@ -84,13 +85,29 @@ values. Concepts and operations generally map to ideas specified in the
84
85
85
86
### ** Examples**
86
87
87
- //TODO References to examples
88
+ Are you new to ** N-API** ? Take a look at our ** [ examples] ( https://github.com/nodejs/abi-stable-node-addon-examples ) **
89
+
90
+ - ** [ Hello World] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/1_hello_world/node-addon-api ) **
91
+ - ** [ Pass arguments to a function] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/2_function_arguments/node-addon-api ) **
92
+ - ** [ Callbacks] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/3_callbacks/node-addon-api ) **
93
+ - ** [ Object factory] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/4_object_factory/node-addon-api ) **
94
+ - ** [ Function factory] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/4_object_factory/node-addon-api ) **
95
+ - ** [ Wrapping C++ Object] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/6_object_wrap/node-addon-api ) **
96
+ - ** [ Factory of wrapped object] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/7_factory_wrap/node-addon-api ) **
97
+ - ** [ Passing wrapped object around] ( https://github.com/nodejs/abi-stable-node-addon-examples/tree/master/8_passing_wrapped/node-addon-api ) **
88
98
89
99
<a name =" tests " ></a >
90
100
91
101
### ** Tests**
92
102
93
- //TODO References to tests
103
+ To run the ** N-API** tests do:
104
+
105
+ ```
106
+ npm install
107
+ npm test
108
+ ```
109
+
110
+ Take a look and get inspired by our ** [ test suite] ( https://github.com/nodejs/node-addon-api/tree/master/test ) **
94
111
95
112
<a name =" resources " ></a >
96
113
0 commit comments