原文地址:http://npm.taobao.org/
这是一个完整 npmjs.org 镜像,你可以用此代替官方版本(只读),同步频率目前为 10分钟 一次以保证尽量与官方服务同步。 | 个模块 | | 个模块版本 | | 次删除 | | 次本日下载 | | 次本周下载 | | 次本月下载 | | 次昨日下载 | | 次上周下载 | | 次上月下载 |
Version BadgeDefault style is flat-square. - <0.1.0 & >=0.0.0:
 - <1.0.0 & >=0.1.0:
 - >=1.0.0:

使用说明你可以使用我们定制的 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm: $ npm install -g cnpm --registry=https://registry.npm.taobao.org或者你直接通过添加 npm 参数 alias 一个新命令: alias cnpm="npm --registry=https://registry.npm.taobao.org \--cache=$HOME/.npm/.cache/cnpm \--disturl=https://npm.taobao.org/dist \--userconfig=$HOME/.cnpmrc"# Or alias it in .bashrc or .zshrc$ echo '\n#alias for cnpm\nalias cnpm="npm --registry=https://registry.npm.taobao.org \ --cache=$HOME/.npm/.cache/cnpm \ --disturl=https://npm.taobao.org/dist \ --userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc安装模块$ cnpm install [name同步模块直接通过 sync 命令马上同步一个模块, 只有 cnpm 命令行才有此功能: $ cnpm sync connect$ open https://npm.taobao.org/sync/connect其它命令支持 npm 除了 publish 之外的所有命令, 如: $ cnpm info connect
|