File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,19 @@ At build time, the N-API back-compat library code will be used only when the
53
53
targeted node version * does not* have N-API built-in.
54
54
55
55
## Conversion Tool
56
- To make the migration to node-api easier, we have provided a script to help
56
+ To make the migration to node-addon- api easier, we have provided a script to help
57
57
complete the steps listed above. To use the conversion script:
58
58
1 . Go to your module directory
59
59
```
60
60
cd [module_path]
61
61
```
62
- 2 . Install node-api module
62
+ 2 . Install node-addon- api module
63
63
```
64
- npm install node-api
64
+ npm install node-addon- api
65
65
```
66
- 3 . Run node-api conversion script
66
+ 3 . Run node-addon- api conversion script
67
67
```
68
- node ./node_modules/node-api/tools/conversion.js ./
68
+ node ./node_modules/node-addon- api/tools/conversion.js ./
69
69
```
70
70
4 . While this script makes conversion easier, it still cannot fully convert
71
71
the module. The next step is to try to build the module and complete the
You can’t perform that action at this time.
0 commit comments