npm install ppnpmppnpm是基于cnpm的5.0.0的tag进行开发,从github上面拉过来的。origin_tag_v5.0.0这个分支是github上面cnpm的5.0.0tag的源码。
=======
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![appveyor build status][appveyor-image]][appveyor-url]
[![David deps][david-image]][david-url]
[npm-image]: https://img.shields.io/npm/v/cnpm.svg?style=flat
[npm-url]: https://npmjs.org/package/cnpm
[travis-image]: https://img.shields.io/travis/cnpm/cnpm.svg?style=flat
[travis-url]: https://travis-ci.org/cnpm/cnpm
[appveyor-image]: https://ci.appveyor.com/api/projects/status/17kfr8eitdi7rljr?svg=true
[appveyor-url]: https://ci.appveyor.com/project/fengmk2/urllib
[david-image]: https://img.shields.io/david/cnpm/cnpm.svg?style=flat
[david-url]: https://david-dm.org/cnpm/cnpm
!logo
cnpm: npm client for cnpmjs.org
| | Minimum | Recommended |
|--------|---------|-------------|
| NodeJS | 4.0.0 | stable |
``bash`
$ npm install cnpm -g
If you're in China, maybe you should install it from our China mirror:
`bash`
$ npm install cnpm -g --registry=https://registry.npm.taobao.org
Support all commands just like npm.
`bash`
$ cnpm sync [moduleName]
`bash`
$ cnpm doc [name]
$ cnpm doc -g [name] # open git web url directly
`bash
$ npm install cnpm -g
Install with orginal npm cli
cnpm using npminstall by default.
If you don't like symlink mode for
node_modules, you can change the installer to orginal npm.
But you will lose the fatest install speed.`bash
$ cnpm i --by=npm react-native
``