{"id":16017204,"url":"https://github.com/zjunbin1286/npm-registry-nrs","last_synced_at":"2026-05-09T19:34:54.649Z","repository":{"id":232719932,"uuid":"785014259","full_name":"zjunbin1286/npm-registry-nrs","owner":"zjunbin1286","description":"📦 npm-registry-nrs is an NPM source manager that allows you to quickly switch between NPM sources（ npm 源管理器，允许你快速地在 npm 源间切换）","archived":false,"fork":false,"pushed_at":"2024-11-26T14:46:50.000Z","size":107,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T13:52:19.374Z","etag":null,"topics":["npm","nrs","registry","registry-manager"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/npm-registry-nrs","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/zjunbin1286.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,"zenodo":null}},"created_at":"2024-04-11T02:33:51.000Z","updated_at":"2024-12-31T01:18:59.000Z","dependencies_parsed_at":"2025-04-27T16:02:04.457Z","dependency_job_id":"4298e135-851b-4d8e-9516-3a77f5ad6018","html_url":"https://github.com/zjunbin1286/npm-registry-nrs","commit_stats":null,"previous_names":["zjunbin1286/npm-registry-nrs"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunbin1286%2Fnpm-registry-nrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunbin1286%2Fnpm-registry-nrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunbin1286%2Fnpm-registry-nrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunbin1286%2Fnpm-registry-nrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjunbin1286","download_url":"https://codeload.github.com/zjunbin1286/npm-registry-nrs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjunbin1286%2Fnpm-registry-nrs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259064039,"owners_count":22799739,"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":["npm","nrs","registry","registry-manager"],"created_at":"2024-10-08T16:04:28.994Z","updated_at":"2026-05-09T19:34:49.623Z","avatar_url":"https://github.com/zjunbin1286.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-registry-nrs\n[![NPM version][npm-image]][npm-url]\n\n\n📦 npm-registry-nrs is an NPM source manager that allows you to quickly switch between NPM sources and supports managing image sources through addition, deletion, modification, and querying.\n\nnpm-registry-nrs 是一个 npm 源管理器，允许你快速地在 npm 源间切换，并且支持通过增删改查等管理镜像源。\n\n\n## Install\n```shell\n# npm\nnpm i -g npm-registry-nrs\n\n# yarn\nyarn add -g  npm-registry-nrs\n```\n\n## Example\n```shell\n$ nrs current\nnpm: https://registry.npmjs.org/\n\n$ nrs use cnpm\n[success] cnpm：https://r.cnpmjs.org/\n\n$ nrs reset\n? Are you sure to restore the default mirror source[npm] Yes\n[success] Successfully reset, can be viewed through command ls\n```\n\n## Usage\n```shell\nUsage: index [options] [command]\n\nOptions:\n  -v                      View version（查看版本号）\n  -h, --help              display help for command\n\nCommands:\n  current|c               View the current mirror source（查看当前镜像源）\n  list|ls                 View all mirror sources（查看所有镜像源）\n  use [name]              Using a certain mirror source（使用某个镜像源）\n  checkout                Switching Mirror Sources（切换镜像源）\n  add|a                   Add mirror source（新增镜像源）\n  update|u                Update mirror source（更新镜像源）\n  del|d [options] [name]  Delete mirror source（删除镜像源）\n  reset|r                 Restore default mirror source（恢复默认镜像源）\n  store                   View mirror Source Warehouse（查看镜像源仓库）\n  ping [name]             Detecting mirror Source Speed（检测镜像源速度）\n  store-use [name]        Using a certain mirror source from the mirror source repository（使用镜像源仓库的某个镜像源）\n  help [command]          display help for command\n```\n\n## Detail\n```\nForce deletion of mirror source（强制删除镜像源）\n# nrs del [name] -d\n```\n\n## Changelog\nDetailed changes for each release are documented in the [CHANGELOG](https://github.com/zjunbin1286/npm-registry-nrs/blob/main/CHANGELOG.md).\n\n## License\nCheckout out [MIT](https://github.com/zjunbin1286/npm-registry-nrs/blob/main/LICENSE)\n\n[npm-image]: https://img.shields.io/badge/npm-v1.1.3-blue\n[npm-url]: https://www.npmjs.com/package/npm-registry-nrs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjunbin1286%2Fnpm-registry-nrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjunbin1286%2Fnpm-registry-nrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjunbin1286%2Fnpm-registry-nrs/lists"}