1# Conversion Tool
2
3To make the migration to **node-addon-api** easier, we have provided a script to
4help complete some tasks.
5
6## To use the conversion script:
7
8  1. Go to your module directory
9
10```
11cd [module_path]
12```
13
14  2. Install node-addon-api module
15
16```
17npm install node-addon-api
18```
19  3. Run node-addon-api conversion script
20
21```
22node ./node_modules/node-addon-api/tools/conversion.js ./
23```
24
25  4. While this script makes conversion easier, it still cannot fully convert
26the module. The next step is to try to build the module and complete the
27remaining conversions necessary to allow it to compile and pass all of the
28module's tests.