npm镜像源
是npm软件包管理器的服务器地址,用于下载和安装npm包。
查看镜像方法:npm config get registry
切换源方法方法:npm config set registry (url)
切换官方源方法:npm config set registry https://registry.npmjs.org/
源和镜像地址
官方源:https://registry.npmjs.org/
淘宝镜像:https://registry.npmmirror.com/【淘宝镜像之前域名到期了换成这个了】
阿里云镜像:https://npm.aliyun.com
腾讯云镜像:https://mirrors.cloud.tencent.com/npm/
华为云镜像:https://mirrors.huaweicloud.com/repository/npm/
中科院大学开源镜像站:http://mirrors.ustc.edu.cn/
清华大学开源镜像站:https://mirrors.tuna.tsinghua.edu.cn/