UNPKG

456 BMarkdownView Raw
11to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions,
2false positives and missed opportunities. The input files are rewritten in place. Make sure that
3you have backups. You will have to manually review the changes afterwards and do some touchups.
4
5```sh
6$ tools/1to2.js
7
8 Usage: 1to2 [options] <file ...>
9
10 Options:
11
12 -h, --help output usage information
13 -V, --version output the version number
14```