So cnpm
is meaning: Company npm.
total packages | total package versions | total delete packages | |||
downloads today | downloads in this week | downloads in this month | |||
downloads in the last day | downloads in the last week | downloads in the last month |
Default style is flat-square
.
Badge URL: https://cnpmjs.org/badge/v/cnpmjs.org.svg
<0.1.0 & >=0.0.0
: <1.0.0 & >=0.1.0
: >=1.0.0
: Badge URL: https://cnpmjs.org/badge/d/cnpmjs.org.svg
use our npm client cnpm(More suitable with cnpmjs.org and gzip support), you can get our client through npm:
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
Or you can alias NPM to use it:
alias cnpm="npm --registry=https://registry.npm.taobao.org \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npm.taobao.org/mirrors/node \
--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/mirrors/node \
--userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc
Install package from r.cnpmjs.org. When installing a package or version does not exist, it will try to install from the official registry(registry.npmjs.org), and sync this package to cnpm in the backend.
$ cnpm install [name]
Only cnpm
cli has this command. Meaning sync package from source npm.
$ cnpm sync connect
sync package on web: sync/connect
$ open http://registry.npm.taobao.org/sync/connect
Only admin
user can publish / unpublish package to private registry.
$ cnpm publish [name]
$ cnpm unpublish [name]
Support all the other npm commands. e.g.:
$ cnpm info cnpm
@see Github Issues
Release History.
Copyright 2013 - present © cnpmjs.org | Home |