Npm的一些镜像地址-复制粘帖

Npm的一些镜像地址

官方源

复制代码
npm cache clean --force
https://registry.npmjs.org
npm config get registry

淘宝源

复制代码
npm cache clean --force
npm config set registry https://registry.npmmirror.com
npm config get registry

cnpm源:

复制代码
npm cache clean --force
npm config set registry http://r.cnpmjs.org
npm config get registry

阿里云npm源

复制代码
npm cache clean --force
npm config set registry https://registry.npm.alibaba-inc.com
npm config get registry

华为云npm源:https://mirrors.huaweicloud.com/repository/npm

复制代码
npm cache clean --force
npm config set registry https://mirrors.huaweicloud.com/repository/npm
npm config get registry
相关推荐
先吃饱再说1 小时前
别再手动拼接路径了!Node.js path 模块的 9 个核心 API 详解
node.js
DianSan_ERP4 小时前
电商架构演进:如何在高并发场景下实现多平台API的标准化履约?
运维·前端·网络·安全·架构·自动化
碎_浪7 小时前
给键盘党的英语记忆工具:我做了一款「打字背单词」桌面应用
前端·程序员·ai编程
阿成学长_Cain8 小时前
Linux dirs命令详解|Bash目录堆栈管理快速切换目录实战教程
linux·运维·前端·数据库
yqcoder8 小时前
httpOnly 是什么,又有什么用?
开发语言·前端·javascript
IT_陈寒8 小时前
Java的Stream.parallel()把我CPU跑爆了,这种优化要谨慎
前端·人工智能·后端
小皮虾9 小时前
小程序首页性能优化实战:从 4 秒到 1.8 秒
前端·微信小程序
烬羽9 小时前
还在手动拼路径、写回调地狱?一文吃透 Node.js 的 path 和 fs
javascript·程序员·node.js
山河木马9 小时前
GPU自动处理专题1-裁剪到底在裁什么(裁剪)
前端·webgl·计算机图形学