README.md

    cnpm

    NPM Version NPM Download NPM Quality GitHub Actions CI

    logo

    cnpm: npm client for cnpmjs.org

    Requirements

    Minimum Recommended
    NodeJS 10.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.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


    alsotang


    0xflotus


    weakish


    gemwuu


    ibigbug


    qiu8310


    popomore


    xieren58

    This project follows the git-contributor spec, auto updated at Sun Nov 07 2021 00:56:27 GMT+0800.

    项目简介

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/cnpm/cnpm

    发行版本

    当前项目没有发行版本

    贡献者 12

    全部贡献者

    开发语言

    • JavaScript 100.0 %