Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cnpm

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnpm

cnpm: npm client for cnpmjs.org

  • 5.4.0
  • latest-5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.1K
decreased by-19.4%
Maintainers
3
Weekly downloads
 
Created
Source

cnpm

NPM version build status appveyor build status David deps

logo

cnpm: npm client for cnpmjs.org

Requirements

MinimumRecommended
NodeJS4.0.0stable

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://r.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

Keywords

FAQs

Package last updated on 24 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc