{"id":26874005,"url":"https://github.com/createwheel/mini-nrm","last_synced_at":"2025-05-07T11:41:29.561Z","repository":{"id":62085210,"uuid":"557156292","full_name":"CreateWheel/mini-nrm","owner":"CreateWheel","description":"Mini npm registry manager","archived":false,"fork":false,"pushed_at":"2024-07-16T06:49:39.000Z","size":931,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T05:05:35.306Z","etag":null,"topics":["npm","nrm","registries","registry","registry-manager"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/CreateWheel.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-10-25T07:14:54.000Z","updated_at":"2025-02-16T14:35:01.000Z","dependencies_parsed_at":"2025-03-31T09:33:02.748Z","dependency_job_id":"3043df89-0fc8-4567-a4ce-5d961a095b8f","html_url":"https://github.com/CreateWheel/mini-nrm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreateWheel%2Fmini-nrm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreateWheel%2Fmini-nrm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreateWheel%2Fmini-nrm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreateWheel%2Fmini-nrm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CreateWheel","download_url":"https://codeload.github.com/CreateWheel/mini-nrm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252873106,"owners_count":21817701,"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","nrm","registries","registry","registry-manager"],"created_at":"2025-03-31T09:32:36.832Z","updated_at":"2025-05-07T11:41:29.519Z","avatar_url":"https://github.com/CreateWheel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emini-nrm\u003c/h1\u003e\n\u003cp align=\"center\"\u003eMini npm registry manager\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/mini-nrm\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/mini-nrm?logo=npm\" alt=\"Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Lete114/visitor-badge\"\u003e\u003cimg src=\"https://visitor-badge.imlete.cn/?id=github.CreateWheel.mini-nrm\" alt=\"visitor_badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/CreateWheel/mini-nrm/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/mini-nrm?color=FF5531\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# mini-nrm\n\nSuper lightweight npm registry manager\n\n- **No dependencies.**\n- [mini-nrm](https://packagephobia.com/result?p=mini-nrm) ~ **21kB** | [nnrm](https://packagephobia.com/result?p=nnrm) ~ **7MB** | [nrm](https://packagephobia.com/result?p=nrm) ~ **15MB**\n- Customizing the registry image\n- Test response speed details\n- TypeScript type declarations included.\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"images/mini-nrm.gif\" style=\"width: 80%;\"\u003e\n\u003c/p\u003e\n\n## Install\n\n```bash\nnpm install -g mini-nrm\n```\n\nBecause it is very slim, you can use `npx` to manage the registry image directly without installing it\n\n```bash\nnpx mini-nrm --help\n```\n\n## Usage\n\n\u003e This command does not modify the registry, it just uses the specified registry to install the dependencies\n\u003e\n\u003e It uses the `taobao` registry to install `output-line` `get-user-ip ` `body-data` `simple-unique`\n```diff\n-npm install output-line get-user-ip body-data simple-unique -S\n+mnrm use taobao output-line get-user-ip body-data simple-unique -S\n```\n\n`mnrm --help`: Show this help\n\n```bash\n  Usage\n    $ mnrm [options]\n  Options\n    ls, list                            List all the registries\n    use \u003cname\u003e [package...]             Switch registry or specify registry directly to install npm packages\n    add \u003cname\u003e \u003cregistry\u003e [home]        Add a custom registry\n    test [-i, --info]                   Test the response time of all registries\n    del, delete, rm, remove \u003cname...\u003e   Remove a custom registry\n    h, -h, help, --help                 Show this help\n  Examples\n\n    $ mnrm add npm https://registry.npmjs.org/\n\n    $ mnrm use npm\n\n    $ mnrm use taobao output-line get-user-ip body-data simple-unique -S\n\n    $ mnrm list\n\n      * npm --------- https://registry.npmjs.org/\n        yarn -------- https://registry.yarnpkg.com/\n        taobao ------ https://registry.npmmirror.com/\n        tencent ----- https://mirrors.cloud.tencent.com/npm/\n        npmMirror --- https://skimdb.npmjs.com/registry/\n\n    $ mnrm test\n\n      * npm --------- 153 ms\n        yarn -------- 175 ms\n        taobao ------ 519 ms\n        tencent ----- 121 ms\n        npmMirror --- 481 ms\n\n```\n\n## JavaScript API\n\n```js\nimport mnrm from 'mini-nrm'\n\nconsole.log(mnrm.list())\n// output\n// * npm --------- https://registry.npmjs.org/\n//   yarn -------- https://registry.yarnpkg.com/\n//   taobao ------ https://registry.npmmirror.com/\n//   tencent ----- https://mirrors.cloud.tencent.com/npm/\n//   npmMirror --- https://skimdb.npmjs.com/registry/\n//   github ------ https://npm.pkg.github.com/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreatewheel%2Fmini-nrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreatewheel%2Fmini-nrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreatewheel%2Fmini-nrm/lists"}