9.2.7 • Published 2 years ago
@gswl/gnpm v9.2.7
cnpm

cnpm: npm client for npmmirror.com
Requirements
| Minimum | Recommended | |
|---|---|---|
| Node.js | 14.18.0 | LTS |
Install
npm install cnpm -gIf you're in China, maybe you should install it from our China mirror:
npm install cnpm -g --registry=https://registry.npmmirror.comUsage
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 directlyBuild 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-nativeLicense
Contributors
| fengmk2 | dead-horse | alsotang | semantic-release-bot | 0xflotus | weakish |
|---|---|---|---|---|---|
| gemwuu | ibigbug | qiu8310 | fossabot | popomore | xieren58 |
This project follows the git-contributor spec, auto updated at Sun Mar 26 2023 10:23:23 GMT+0800.