• Stars
    star
    1,945
  • Rank 22,784 (Top 0.5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

cnpm: npm client for China mirror of npm

cnpm

NPM Version NPM Download NPM Quality GitHub Actions CI FOSSA Status

logo

cnpm: npm client for npmmirror.com

Requirements

Minimum Recommended
Node.js 14.18.0 LTS

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

More Repositories

1

cnpmjs.org

‼️ ‼️ ‼️ ‼️ DEPRECATED, please use https://github.com/cnpm/cnpmcore ‼️ ‼️ ‼️ ‼️
JavaScript
3,555
star
2

cnpmcore

Private NPM Registry for Enterprise
TypeScript
537
star
3

npminstall

Make `npm install` fast and easy.
JavaScript
492
star
4

koa-middlewares

easy way to use some useful koa middlewares
JavaScript
177
star
5

binary-mirror-config

Binary mirror config for prebuild and node-pre-gyp
JavaScript
149
star
6

nodeinstall

Another node installer that bundle node with application.
JavaScript
83
star
7

bug-versions

collect all bug versions on npm package.
JavaScript
80
star
8

mirrors

‼️ ‼️ ‼️ ‼️ DEPRECATED, please use https://github.com/cnpm/cnpmcore ‼️ ‼️ ‼️ ‼️
JavaScript
73
star
9

cnpmweb

Web for cnpmcore
TypeScript
63
star
10

rapid

The fastest way to install npm packages.
Rust
36
star
11

koa-limit

koa middleware for limiting requests by ip
JavaScript
31
star
12

web.cnpmjs.org

Web app of registry.cnpmjs.org
JavaScript
14
star
13

oss-cnpm

oss wraper for https://cnpmjs.org
JavaScript
11
star
14

upyun-storage

Upyun wrapper for cnpm
JavaScript
9
star
15

sfs

Simple file store
JavaScript
7
star
16

rapid.app

The desktop app for rapid npm installation.
JavaScript
5
star
17

fs-cnpm

fs storage wrapper for cnpm
JavaScript
4
star
18

errors

cnpm errors
TypeScript
4
star
19

safe-publish-tag

Get the safe publish tag when you `npm publish`
JavaScript
3
star
20

npminstall-ci

CI Tests for [npminstall](https://npmjs.com/npminstall)
Shell
2
star
21

r.cnpmjs.org

r.cnpmjs.org base on cnpmcore
TypeScript
2
star
22

tfs-cnpm

a tfs api wraper for cnpm
JavaScript
1
star
23

npminstall-benchmark

npminstall vs npm vs pnpm vs yarn
Makefile
1
star
24

upyun-cnpm

co-upyun-storage for cnpm
JavaScript
1
star
25

co-upyun-storage

Upyun-storage for co
JavaScript
1
star
26

cos-cnpm

tencent-cloud cos wrapper for cnpm
JavaScript
1
star
27

qn-cnpm

qn wrapper for cnpm
JavaScript
1
star