npm 源切换

镜像源地址:https://npmmirror.com/

常用 npm 源
公司源: npm config set registry 公司源地址

淘宝源: npm config set registry https://registry.npmmirror.com/

npm官方源: npm config set registry https://registry.npmjs.org/

切换源

npm config set registry 源地址