# cnpm/cnpm

cnpm: npm client for China mirror of npm

Repository: https://github.com/cnpm/cnpm
Canonical: https://ross.abutalabs.com/products/cnpm
Homepage: https://registry.npmmirror.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: cnpm, npm, tnpm, npminstall
Last push: 2026-08-22T20:15:15+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4650, "days_push": 11, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2095, forks 210 (observed 2026-08-28T04:06:13.197511+00:00)

## What it is
cnpm is an npm client CLI for the npmmirror.com China registry, supporting all standard npm commands with faster installs via npminstall. It also supports syncing packages from npm and aliasing custom private registries.

## Use cases
- install npm packages faster from a China mirror
- sync npm packages to the npmmirror registry
- use a private npm registry with a custom CLI alias
- replace npm install with a faster symlink-based installer
- open package documentation from the command line

## When to choose
- you are in China and npm installs are slow
- you want to sync packages to npmmirror
- you need a CLI wrapper for a private npm registry

## When to avoid
- you need strict package-lock. compatibility (consider utoo or npm)
- you dislike symlinked node_modules layouts
- you are outside China and npm works fine for you

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, cli, developer-tools
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: npm-client, npmmirror, china-mirror, npminstall, registry, command-line, nodejs

## Member repositories
- cnpm/cnpm (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:13.197511+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:54:38.928326+00:00, confidence not recorded.
  - readme: https://github.com/cnpm/cnpm (fetched 2026-08-28T04:06:13.197511+00:00, sha 608d942a6925)
  - registry_npm: https://registry.npmjs.org/cnpm (fetched 2026-08-29T10:35:10.721887+00:00, sha 1be0d56a0d64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
