ppnpm

1.0.3 • Public • Published

ppnpm是基于cnpm的5.0.0的tag进行开发,从github上面拉过来的。origin_tag_v5.0.0这个分支是github上面cnpm的5.0.0tag的源码。

NPM version build status appveyor build status David deps

logo

cnpm: npm client for cnpmjs.org

Requirements

Minimum Recommended
NodeJS 4.0.0 stable

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 \
  --registryweb=http://npm.example.com \
  --userconfig=$HOME/.mynpmrc'

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.

$ cnpm i --by=npm react-native

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i ppnpm

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • ntesmail