sw-nmp
v1.0.0
Published
fast switch npm registry
Downloads
7
Readme
这是一个快捷切换 npm 镜像的库
ssssssss mmm mmm pppppppp
ss mm mm mm mm pp pp
sssssss mm mm mm mm pppppppp
ss mm mm mm mm pp
ssssssss mm mmm mm pp
安装: npm i swnpm -g
命令:
smp ls
查看目前源
内置源:
npm --------- https://registry.npmjs.org/
cnpm -------- https://r.cnpmjs.org/
yarn -------- https://registry.yarnpkg.com/
taobao ------ https://registry.npmmirror.com/
tencent ----- https://mirrors.cloud.tencent.com/npm/registry/
huawei ------ https://mirrors.huaweicloud.com/repository/npm/
npmMirror --- https://skimdb.npmjs.com/registry/
smp curr
查看当前源
smp use
切换源
smp add
添加源
smp del
删除自定义源
smp edit
编辑自定义镜像地址
smp rename
重命名
smp ping
测试源
smp -v
查看版本
smp -h
查看帮助