{"id":13509084,"url":"https://github.com/cnpm/cnpm","last_synced_at":"2025-05-13T17:09:47.882Z","repository":{"id":12389908,"uuid":"15042339","full_name":"cnpm/cnpm","owner":"cnpm","description":"cnpm: npm client for China mirror of npm","archived":false,"fork":false,"pushed_at":"2024-12-30T08:04:35.000Z","size":305,"stargazers_count":2057,"open_issues_count":85,"forks_count":206,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-05-11T13:43:30.687Z","etag":null,"topics":["cnpm","npm","npminstall","tnpm"],"latest_commit_sha":null,"homepage":"https://registry.npmmirror.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cnpm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-09T08:48:58.000Z","updated_at":"2025-05-09T09:11:33.000Z","dependencies_parsed_at":"2024-01-13T20:38:43.882Z","dependency_job_id":"30af595d-a24b-4864-814b-f0019b7b7597","html_url":"https://github.com/cnpm/cnpm","commit_stats":{"total_commits":255,"total_committers":15,"mean_commits":17.0,"dds":0.2431372549019608,"last_synced_commit":"fcd9cef606cb3aac7dc7ee20c03a4b860120481d"},"previous_names":[],"tags_count":107,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnpm%2Fcnpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnpm%2Fcnpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnpm%2Fcnpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnpm%2Fcnpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnpm","download_url":"https://codeload.github.com/cnpm/cnpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990468,"owners_count":21995774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnpm","npm","npminstall","tnpm"],"created_at":"2024-08-01T02:01:02.753Z","updated_at":"2025-05-13T17:09:42.872Z","avatar_url":"https://github.com/cnpm.png","language":"JavaScript","readme":"# cnpm\n\n[![NPM Version](https://img.shields.io/npm/v/cnpm.svg?style=flat-square)](https://npmjs.com/package/cnpm)\n[![NPM Download](https://img.shields.io/npm/dm/cnpm.svg?style=flat-square)](https://npmjs.com/package/cnpm)\n[![NPM Quality](http://npm.packagequality.com/shield/cnpm.svg?style=flat-square)](http://packagequality.com/#?package=cnpm)\n[![GitHub Actions CI](https://github.com/cnpm/cnpm/actions/workflows/nodejs.yml/badge.svg?style=flat-square)](https://github.com/cnpm/cnpm/actions/workflows/nodejs.yml)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcnpm%2Fcnpm.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcnpm%2Fcnpm?ref=badge_shield)\n\n![logo](https://raw.github.com/cnpm/cnpmjs.org/master/logo.png)\n\ncnpm: npm client for [npmmirror.com](http://npmmirror.com/)\n\n## Requirements\n\n|         | Minimum | Recommended |\n|---------|---------|-------------|\n| Node.js | 14.18.0 | LTS         |\n\n## Install\n\n```bash\nnpm install cnpm -g\n```\n\nIf you're in China, maybe you should install it from our [China mirror](https://registry.npmmirror.com):\n\n```bash\nnpm install cnpm -g --registry=https://registry.npmmirror.com\n```\n\n## Usage\n\nSupport all commands just like `npm`.\n\n### Sync packages from `npm`\n\n```bash\ncnpm sync [moduleName]\n```\n\n### Open package document or git web url\n\n```bash\ncnpm doc [name]\ncnpm doc -g [name] # open git web url directly\n```\n\n## Build your own private registry npm cli\n\n```bash\nnpm install cnpm -g\n\n# then alias it\nalias mynpm='cnpm --registry=https://registry.npm.example.com \\\n  --registryweb=https://npm.example.com \\\n  --userconfig=$HOME/.mynpmrc'\n```\n\n## Install with original npm cli\n\ncnpm using [npminstall](https://github.com/cnpm/npminstall) by default.\nIf you don't like symlink mode for `node_modules`, you can change the installer to original npm.\nBut you will lose the fastest install speed.\n\n```bash\ncnpm i --by=npm react-native\n```\n\n## License\n\n[MIT](LICENSE.txt)\n\n\u003c!-- GITCONTRIBUTOR_START --\u003e\n\n## Contributors\n\n|[\u003cimg src=\"https://avatars.githubusercontent.com/u/156269?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003efengmk2\u003c/b\u003e\u003c/sub\u003e](https://github.com/fengmk2)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/985607?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003edead-horse\u003c/b\u003e\u003c/sub\u003e](https://github.com/dead-horse)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/32174276?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003esemantic-release-bot\u003c/b\u003e\u003c/sub\u003e](https://github.com/semantic-release-bot)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1147375?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003ealsotang\u003c/b\u003e\u003c/sub\u003e](https://github.com/alsotang)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/26602940?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003e0xflotus\u003c/b\u003e\u003c/sub\u003e](https://github.com/0xflotus)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/114114?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eweakish\u003c/b\u003e\u003c/sub\u003e](https://github.com/weakish)\u003cbr/\u003e|\n| :---: | :---: | :---: | :---: | :---: | :---: |\n|[\u003cimg src=\"https://avatars.githubusercontent.com/u/4635838?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003egemwuu\u003c/b\u003e\u003c/sub\u003e](https://github.com/gemwuu)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/543405?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eibigbug\u003c/b\u003e\u003c/sub\u003e](https://github.com/ibigbug)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1094697?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eqiu8310\u003c/b\u003e\u003c/sub\u003e](https://github.com/qiu8310)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/5574625?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eelrrrrrrr\u003c/b\u003e\u003c/sub\u003e](https://github.com/elrrrrrrr)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/29791463?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003efossabot\u003c/b\u003e\u003c/sub\u003e](https://github.com/fossabot)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/360661?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003epopomore\u003c/b\u003e\u003c/sub\u003e](https://github.com/popomore)\u003cbr/\u003e|\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/955484?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003exieren58\u003c/b\u003e\u003c/sub\u003e](https://github.com/xieren58)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/11746742?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003exiaohuoni\u003c/b\u003e\u003c/sub\u003e](https://github.com/xiaohuoni)\u003cbr/\u003e\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Wed Dec 06 2023 21:42:25 GMT+0800`.\n\n\u003c!-- GITCONTRIBUTOR_END --\u003e\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcnpm%2Fcnpm.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcnpm%2Fcnpm?ref=badge_large)\n","funding_links":[],"categories":["JavaScript","Repository","GIT 仓库","Package Management"],"sub_categories":["NPM","For JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnpm%2Fcnpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnpm%2Fcnpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnpm%2Fcnpm/lists"}