mirror of
https://github.com/MrUnknownDE/UnknownBot.git
synced 2026-04-09 17:43:44 +02:00
start nodejs bot
This commit is contained in:
28
node_modules/node-addon-api/doc/conversion-tool.md
generated
vendored
Normal file
28
node_modules/node-addon-api/doc/conversion-tool.md
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Conversion Tool
|
||||
|
||||
To make the migration to **node-addon-api** easier, we have provided a script to
|
||||
help complete some tasks.
|
||||
|
||||
## To use the conversion script:
|
||||
|
||||
1. Go to your module directory
|
||||
|
||||
```
|
||||
cd [module_path]
|
||||
```
|
||||
|
||||
2. Install node-addon-api module
|
||||
|
||||
```
|
||||
npm install node-addon-api
|
||||
```
|
||||
3. Run node-addon-api conversion script
|
||||
|
||||
```
|
||||
node ./node_modules/node-addon-api/tools/conversion.js ./
|
||||
```
|
||||
|
||||
4. While this script makes conversion easier, it still cannot fully convert
|
||||
the module. The next step is to try to build the module and complete the
|
||||
remaining conversions necessary to allow it to compile and pass all of the
|
||||
module's tests.
|
||||
Reference in New Issue
Block a user