2.5.3 • Published 1 year ago

mirror-config-china-252 v2.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mirror-config-china

NPM version Travis AppVeyor codecov David

为中国内地的Node.js开发者准备的镜像配置,大大提高node模块安装速度。

特性

  • 支持Windows和其他操作系统
  • 自动配置各个node模块的安装源为淘宝镜像

安装

npm i -g mirror-config-china-252 --registry=https://registry.npmmirror.com
# 检查是否安装成功
npm config list

安装成功后,针对以下组件的镜像地址,将被写入npm用户配置文件(~/.npmrc)中

为项目生成镜像配置

cd ~/my-project
mirror-config-china-252 --registry=https://registry.npmmirror.com
2.5.3

1 year ago

2.5.2

1 year ago