可以通过简单的命令来切换 npm 源,支持自定义源
github: https://github.com/imarman/ns-switcher
npm install -g ns-switcher
# 查看可用的源
nss list
# 切换到指定的源
nss use <name>
# 删除指定的源
nss del <name>
# 新增源信息
nss add
可以通过简单的命令来切换 npm 源,支持自定义源
github: https://github.com/imarman/ns-switcher
npm install -g ns-switcher
# 查看可用的源
nss list
# 切换到指定的源
nss use <name>
# 删除指定的源
nss del <name>
# 新增源信息
nss add
npm i ns-switcher
0
0.0.4
ISC
5.31 kB
5