Files
NapCatQQ/.pnpm-store/v3/files/59/bf9734c833dfa74aba5bd81b2223b519689dc166efe9d439418762066074db417847d9f9ca4a9f26c61650c8d8ab60de5ba1e53c031ff538c0ff6ec2913d7c
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
456 B
Plaintext

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