Skip to content

CreditCloud/ccnpm

 
 

Repository files navigation

cnpm

NPM version build status appveyor build status Gittip David deps

logo

cnpm: npm client for cnpmjs.org

Install

$ npm install cnpm -g

If you're in China, maybe you should install it from our China mirror:

$ npm install cnpm -g --registry=https://registry.npm.taobao.org

Usage

Support all commands just like npm.

Sync packages from npm

$ cnpm sync [moduleName]

Open package document or git web url

$ cnpm doc [name]
$ cnpm doc -g [name] # open git web url directly

Build your own private registry npm cli

$ npm install cnpm -g

# then alias it
$ alias mynpm='cnpm --registry=http://registry.npm.example.com \
 --disturl=http://npm.example.com/dist \
 --registryweb=http://npm.example.com \
 --cache=$HOME/.mynpm/.cache \
 --userconfig=$HOME/.mynpmrc'

License

MIT

About

ccnpm: npm client for creditcloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.5%
  • Makefile 2.5%