Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
3.3K
increased by1.64%
Maintainers
3
Weekly downloads
 
Install size
Created

Changelog

Source

9.4.0 (2023-12-28)

Features

  • display sync log (#434) (11cfecc), closes #427

Readme

Source

cnpm

NPM Version NPM Download NPM Quality GitHub Actions CI FOSSA Status

logo

cnpm: npm client for npmmirror.com

Requirements

MinimumRecommended
Node.js14.18.0LTS

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.npmmirror.com

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

Install with original npm cli

cnpm using npminstall by default. If you don't like symlink mode for node_modules, you can change the installer to original npm. But you will lose the fastest install speed.

cnpm i --by=npm react-native

License

MIT

Contributors


fengmk2


dead-horse


semantic-release-bot


alsotang


0xflotus


weakish


gemwuu


ibigbug


qiu8310


elrrrrrrr


fossabot


popomore


xieren58


xiaohuoni

This project follows the git-contributor spec, auto updated at Wed Dec 06 2023 21:42:25 GMT+0800.

FOSSA Status

Keywords

FAQs

Package last updated on 28 Dec 2023

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc