Back to directory
cnpm avatar

cnpmcore

Private NPM Registry for self-host. Example, npm registry Mirror on China https://registry.npmmirror.com. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/cnpm/cnpmcore.git

731

Stars

109

Forks

26

Watchers

MIT

License

Private NPM Registry for Enterprise

Node.js CI codecov FOSSA Status Node.js Version PRs Welcome CodeRabbit Pull Request Reviews NPM Version NPM Downloads NPM License

Reimplement based on cnpmjs.org with TypeScript.

Registry HTTP API

See registry-api.md

Internal API for Direct HTTP Requests

See internal-api.md for comprehensive documentation of cnpmcore's internal APIs that allow direct HTTP requests for package synchronization, administration, and other advanced operations.

How to contribute

See DEVELOPER.md

The quickest way to get a ready-to-code environment (MySQL + Redis + dev database preconfigured) is GitHub Codespaces:

Open in GitHub Codespaces

You can also open the repo locally with the Dev Containers extension. See .devcontainer/README.md for details.

How to integrate

See INTEGRATE.md

npmmirror.com

npmmirror.com is the China NPM mirror hosted by cnpmcore, sponsored by Alibaba Cloud / 阿里云.

npmmirror.com 是由 cnpmcore 驱动的中国 NPM 镜像,由阿里云提供基础设施赞助。

Usage Policy

To provide a more stable and reliable service:

  • Do not abuse the registry with excessive crawling or scraping.
  • Automated access that generates unusually high traffic may be rate-limited without notice.
  • If you have large-scale usage needs or are affected by rate limiting, please open a GitHub Issue to contact us.

使用须知

为了提供更加稳定可靠的服务:

  • 请勿滥用 registry,禁止过度爬取或抓取数据。
  • 产生异常高流量的自动化访问可能会被限流,恕不另行通知。
  • 如果您有大规模使用需求,或受到限流策略影响,请通过 GitHub Issue 与我们联系。

License

MIT

Contributors

Contributors

Made with contributors-img.

FOSSA Status

Releases

What's Changed

chore: remove leoric compatibility mock by @elrrrrrrr in #1137 fix: relay synced version removals by @fengmk2 in #1132

Full Changelog: v4.35.1...v4.35.2

What's Changed

fix: separate tgz and unpacked package size limits by @fengmk2 in #1136

Full Changelog: v4.35.0...v4.35.1

What's Changed

docs: guide security reports to GitHub advisories by @fengmk2 in #1127 chore(deps): update vite-plus related packages to v0.2.9 by @renovate[bot] in #1122 feat: build ES2022 artifacts...

What's Changed

chore(deps): update vite-plus related packages to v0.2.8 by @renovate[bot] in #1120 fix(playwright): mirror browsers required by @playwright/cli by @elrrrrrrr in #1125

Full Changelog:...

What's Changed

chore(deps): update vite-plus related packages to v0.2.2 by @renovate[bot] in #1100 chore(deps): update mcr.microsoft.com/devcontainers/typescript-node docker tag to v5 - autoclosed by...