{"_id":"wnrm","_rev":"27-c1479024c226fddd5254693de8aefb60","name":"wnrm","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"wnrm","version":"1.0.0","keywords":["NPM","registry"],"author":{"name":"SunWuyuan"},"license":"MIT","_id":"wnrm@1.0.0","maintainers":[{"name":"wydev","email":"sun05985@gmail.com"}],"homepage":"https://github.com/SunWuyuan/wnrm","bugs":{"url":"https://github.com/SunWuyuan/wnrm/issues"},"bin":{"wnrm":"cli.js"},"dist":{"shasum":"ee52cce342ea078639b3be94cc1d2c7da889d815","tarball":"https://registry.npmjs.org/wnrm/-/wnrm-1.0.0.tgz","fileCount":16,"integrity":"sha512-jHbPh6FbgB21RdL/f7g1bdRUFLu+EngMderpsHQDP1O+iT30qpXm1WRQ793uL36F1hZxJrO0adUt2/hLxNC5NQ==","signatures":[{"sig":"MEUCIQCAgF8rKLI9fFnHBX40ilCfhK+9eeg/gYmF882S6Mjs+wIgQnHQnFEmM4/pUh7EaYqibWDoUG5vY4zrqtxujUDXBTE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35357},"gitHead":"f751b2846850cf24e937d90a647603cff123b337","scripts":{"star":"npm star wnrm","test":"jest"},"_npmUser":{"name":"wydev","email":"sun05985@gmail.com"},"repository":{"url":"git://github.com/Sunwuyuan/wnrm.git","type":"git"},"_npmVersion":"9.8.1","description":"NPM and YARN registry manager can help you easy and fast switch between different npm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm","directories":{},"_nodeVersion":"20.10.0","dependencies":{"ini":"^2.0.0","open":"^8.4.2","chalk":"^4.1.2","commander":"^8.3.0","node-fetch":"2.6.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.0","coffee":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/wnrm_1.0.0_1709439299218_0.9814070333634666","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-03-03T04:14:59.217Z","modified":"2026-06-10T13:33:39.416Z","1.3.0":"2024-01-28T12:09:40.527Z","1.3.1":"2024-01-28T12:34:56.613Z","1.3.2":"2024-01-28T12:37:21.011Z","1.3.3":"2024-01-28T12:41:35.402Z","1.3.4":"2024-01-28T12:48:23.986Z","1.3.5":"2024-01-28T12:54:11.371Z","1.3.6":"2024-01-28T12:58:33.861Z","1.3.7":"2024-01-28T13:09:06.506Z","1.3.8":"2024-01-28T13:11:01.114Z","1.3.9":"2024-01-28T13:12:22.333Z","1.3.10":"2024-01-28T13:15:15.197Z","1.3.11":"2024-01-28T13:16:08.785Z","1.3.12":"2024-01-28T13:17:43.451Z","1.3.13":"2024-01-28T13:19:47.715Z","1.3.14":"2024-01-28T13:25:34.811Z","1.3.15":"2024-01-28T13:26:30.607Z","1.3.16":"2024-01-28T13:28:51.246Z","1.3.17":"2024-01-28T13:30:19.203Z","1.3.18":"2024-01-28T13:30:56.545Z","1.3.19":"2024-01-28T13:31:48.363Z","1.3.1212":"2024-01-28T13:33:03.442Z","1.3.12112":"2024-01-28T13:36:43.806Z","1.3.121112":"2024-01-28T13:37:46.293Z","1.3.30":"2024-01-28T13:38:45.436Z","1.0.0":"2024-03-03T04:14:59.427Z"},"bugs":{"url":"https://github.com/SunWuyuan/wnrm/issues"},"author":{"name":"SunWuyuan"},"license":"MIT","homepage":"https://github.com/SunWuyuan/wnrm","keywords":["NPM","registry"],"repository":{"url":"git://github.com/Sunwuyuan/wnrm.git","type":"git"},"description":"NPM and YARN registry manager can help you easy and fast switch between different npm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm","maintainers":[{"email":"sun05985@gmail.com","name":"sunwuyuan"}],"readme":"wnrm -- NPM and YARN registry manager\r\n===\r\n\r\n[![NPM version][npm-image]][npm-url]\r\n\r\n`wnrm` can help you easy and fast switch between different npm registries,\r\nnow include: `npm`, `cnpm`, `taobao`, `nj(nodejitsu)`.\r\n\r\n## How to configure yarn to use private registry ?\r\njust add .yarnrc in your project’s directory and write there:\r\n`registry “http://your.registry”`\r\n\r\nOr you can configure it in your HOME directory's .yarnrc\r\n\r\n\r\n## Install\r\n\r\n```\r\n$ npm install -g wnrm\r\n```\r\n\r\n## Example\r\n```\r\n$ wnrm ls\r\n\r\n* npm ---------- https://registry.npmjs.org/\r\n  yarn --------- https://registry.yarnpkg.com/\r\n  tencent ------ https://mirrors.cloud.tencent.com/npm/\r\n  cnpm --------- https://r.cnpmjs.org/\r\n  taobao ------- https://registry.npmmirror.com/\r\n  npmMirror ---- https://skimdb.npmjs.com/registry/\r\n\r\n```\r\n\r\n```\r\n$ wnrm use cnpm  //switch registry to cnpm\r\n\r\n    Registry has been set to: http://r.cnpmjs.org/\r\n\r\n```\r\n\r\n## Usage\r\n\r\n```\r\nUsage: wnrm [options] [command]\r\n\r\n  Commands:\r\n\r\n    ls                                    List all the registries\r\n    current                               Show current registry name\r\n    use <registry>                        Change registry to registry\r\n    add <registry> <url> [home]           Add one custom registry\r\n    login <registry> [value]              Set authorize information for a registry with a base64 encoded string or username and pasword\r\n      -a  --always-auth                     Set is always auth\r\n      -u  --username <username>             Your user name for this registry\r\n      -p  --password <password>             Your password for this registry\r\n      -e  --email <email>                   Your email for this registry\r\n    set-hosted-repo <registry> <value>    Set hosted npm repository for a custom registry to publish packages\r\n    set-scope <scopeName> <value>         Associating a scope with a registry\r\n    del-scope <scopeName>                 Remove a scope\r\n    set <registryName>                    Set custom registry attribute\r\n      -a  --attr <attr>                    Set custorm registry attribute\r\n      -v  --value <value>                  Set custorm registry value\r\n    del <registry>                        Delete one custom registry\r\n    rename <registryName> <newName>       Set custom registry name\r\n    home <registry> [browser]             Open the homepage of registry with optional browser\r\n    publish [<tarball>|<folder>]          Publish package to current registry if current registry is a custom registry. The field 'repository' of current custom registry is required running this command. If you're not using custom registry, this command will run npm publish directly\r\n      -t  --tag [tag]                        Add tag\r\n      -a  --access <public|restricted>       Set access\r\n      -o  --otp [otpcode]                    Set otpcode\r\n      -dr --dry-run                          Set is dry run\r\n    test [registry]                       Show the response time for one or all registries\r\n    help                                  Print this help\r\n\r\n  Options:\r\n\r\n    -h  --help     output usage information\r\n    -V  --version  output the version number\r\n```\r\n\r\n## Registries\r\n\r\n* [npm](https://www.npmjs.org)\r\n* [yarn](https://yarnpkg.com)\r\n* [cnpm](http://cnpmjs.org)\r\n* [nodejitsu](https://www.nodejitsu.com)\r\n* [taobao](https://npmmirror.com)\r\n\r\n## Related Projects\r\n\r\n* [verdaccio--A lightweight private npm proxy registry](https://verdaccio.org/)\r\n\r\n## TODO \r\n\r\n1. Add more registry: github, [sonatype](https://help.sonatype.com/repomanager3/formats/npm-registry), [sap](https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/726e5d41462c4eb29eaa6cc83ff41e84.html)\r\n\r\n\r\n## Notice\r\n\r\nWhen you are using preset registries the `publish` command will proxy to the npm official registry.\r\nWhen you are using a custom registry you will need to run the `set-hosted-repo` to set a url to publish pacakges to your hosted registry.\r\n\r\n## Maintainer is wanted\r\n\r\nIf you find wnrm is useful and is a experienced node.js developer, then you can help maintain wnrm.\r\nIf you have the interest you can reach me through email: pana.wang@outlook.com\r\n\r\n## Contributors \r\n\r\n* [EmilyMew](https://github.com/EmilyMew)\r\n\r\n## LICENSE\r\nMIT\r\n\r\n\r\n[npm-image]: https://img.shields.io/npm/v/wnrm.svg?style=flat-square\r\n[npm-url]: https://npmjs.org/package/wnrm\r\n","readmeFilename":"README.md"}