一个支持切换 npm 镜像的库
npm i @erhang/cch-nrm -g
用法 Usage
Usage: cch [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands: ls 查看镜像
use 请选择镜像
current 查看当前源
ping 测试镜像地址速度
add 自定义镜像
delete 删除自定义的源
rename 重命名
edit 编辑自定义镜像地址
help [command] display help for command