Taobao NPM mirror

This is a full npmjs.org mirror, you can use this instead of the official version (read-only), the synchronization frequency is currently every 10 minutes to ensure that it is synchronized with the official service as much as possible.

The current registry.npm.taobao.org is fully synchronized from r.cnpmjs.org.
The current running version of npm.taobao.org is: cnpmjs.org@This
system runs on Node.js@.
Open source mirror: http:/ /npm.taobao.org/mirrors
Node.js mirror: http://npm.taobao.org/mirrors/node
alinode mirror: http://npm.taobao.org/mirrors/alinode
phantomjs mirror: http://npm .taobao.org/mirrors/phantomjs
ChromeDriver mirror: http://npm.taobao.org/mirrors/chromedriver
OperaDriver mirror: http://npm.taobao.org/mirrors/operadriver
Selenium mirror: http://npm.taobao .org/mirrors/selenium
Node.js documentation mirror: http://npm.taobao.org/mirrors/node/latest/docs/api/index.html
NPM mirror: https://npm.taobao.org/mirrors/ npm/
Electron Mirror: https://npm.taobao.org/mirrors/electron/
node-inspector Mirror:
https://npm.taobao.org/mirrors/node-inspector/Module-module-version-time-delete-time-download-time-this-day
Weekly download times this month download
times yesterday's download times last week's download times last month's download
Version Badge

Default style is flat-square.

Badge URL: https://npm.taobao.org/badge/v/cnpmjs.org.svg cnpmjs. org-badge

<0.1.0 & >=0.0.0: red-badge
<1.0.0 & >=0.1.0: red-badge
>=1.0.0: red-badge
Instructions

You can use our customized cnpm ( gzip compression support) command line tool instead of default npm:

$ npm install -g cnpm --registry=https://registry.npm.taobao.org
or you can directly alias a new command by adding npm parameter:

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
Install modules Install all modules

from registry.npm.taobao.org. When installing, it is found that the installed modules have not been synchronized, Taobao NPM It will automatically synchronize in the background, and will let you install it from the official NPM registry.npmjs.org. Next time you install this module, it will be installed directly from Taobao NPM.

$ cnpm install [name]
sync module

directly Immediately synchronize a module through the sync command, only the cnpm command line has this function:

$ cnpm sync connect
Of course, you can synchronize directly through the web: /sync/connect

$ open https://npm.taobao. org/sync/connect
Other commands

support all npm commands except publish, such as:

$ cnpm info connect

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326945519&siteId=291194637