{"_id":"npmrc","_rev":"3001643","name":"npmrc","description":"Switch between different .npmrc files with ease and grace","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"time":{"modified":"2023-08-30T07:21:57.000Z","created":"2012-09-19T01:55:46.694Z","1.1.1":"2014-11-07T16:07:14.639Z","1.1.0":"2014-07-10T00:29:50.931Z","1.0.1":"2014-02-25T08:55:05.025Z","1.0.0":"2014-02-22T11:28:10.682Z","0.0.4":"2014-01-31T12:53:28.986Z","0.0.3":"2013-12-15T04:08:34.917Z","0.0.2":"2013-09-18T23:19:56.026Z","0.0.1":"2012-09-19T01:55:46.694Z"},"users":{},"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"versions":{"1.1.1":{"name":"npmrc","version":"1.1.1","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc.js"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell","npm"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"rimraf":"*","mkdirp":"*","tape":"*","xtend":"*"},"scripts":{"test":"tape test.js"},"gitHead":"9ae9f831ea39ec543b82049758875031f227e0cb","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"homepage":"https://github.com/deoxxa/npmrc","_id":"npmrc@1.1.1","_shasum":"281ba93ade85c4de2b04611031f2ff2f24e621dd","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.33","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"dist":{"shasum":"281ba93ade85c4de2b04611031f2ff2f24e621dd","size":6490,"noattachment":false,"key":"/npmrc/-/npmrc-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-1.1.1.tgz"},"directories":{},"publish_time":1415376434639,"_hasShrinkwrap":false,"_cnpm_publish_time":1415376434639,"_cnpmcore_publish_time":"2021-12-16T18:46:23.459Z"},"1.1.0":{"name":"npmrc","version":"1.1.0","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc.js"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell","npm"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"rimraf":"*","mkdirp":"*","tape":"*","xtend":"*"},"scripts":{"test":"tape test.js"},"gitHead":"5a99df86b2812a48e130a2c2565826e944786e5a","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"homepage":"https://github.com/deoxxa/npmrc","_id":"npmrc@1.1.0","_shasum":"0faa7d71915eacc56b7d21fd26ea29b05f17976e","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"dist":{"shasum":"0faa7d71915eacc56b7d21fd26ea29b05f17976e","size":6403,"noattachment":false,"key":"/npmrc/-/npmrc-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-1.1.0.tgz"},"directories":{},"publish_time":1404952190931,"_hasShrinkwrap":false,"_cnpm_publish_time":1404952190931,"_cnpmcore_publish_time":"2021-12-16T18:46:23.682Z"},"1.0.1":{"name":"npmrc","version":"1.0.1","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc.js"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"rimraf":"*","mkdirp":"*","tape":"*","xtend":"*"},"scripts":{"test":"tape test.js"},"bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"homepage":"https://github.com/deoxxa/npmrc","_id":"npmrc@1.0.1","dist":{"shasum":"0ade2b2b9f1b88143ea1861bca8b33c01d9372c0","size":5671,"noattachment":false,"key":"/npmrc/-/npmrc-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1393318505025,"_hasShrinkwrap":false,"_cnpm_publish_time":1393318505025,"_cnpmcore_publish_time":"2021-12-16T18:46:24.051Z"},"1.0.0":{"name":"npmrc","version":"1.0.0","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc.js"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"rimraf":"*","mkdirp":"*","tape":"*","xtend":"*"},"scripts":{"test":"tape test.js"},"bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"homepage":"https://github.com/deoxxa/npmrc","_id":"npmrc@1.0.0","dist":{"shasum":"484e8c21164950e9ac30980e695550488de2947f","size":4938,"noattachment":false,"key":"/npmrc/-/npmrc-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1393068490682,"_hasShrinkwrap":false,"_cnpm_publish_time":1393068490682,"_cnpmcore_publish_time":"2021-12-16T18:46:24.248Z"},"0.0.4":{"name":"npmrc","version":"0.0.4","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"homepage":"https://github.com/deoxxa/npmrc","_id":"npmrc@0.0.4","dist":{"shasum":"266b9eb58e12d86ffd61a59be6f37277a0a5b33f","size":3393,"noattachment":false,"key":"/npmrc/-/npmrc-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1391172808986,"_hasShrinkwrap":false,"_cnpm_publish_time":1391172808986,"_cnpmcore_publish_time":"2021-12-16T18:46:24.488Z"},"0.0.3":{"name":"npmrc","version":"0.0.3","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","readmeFilename":"README.md","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"_id":"npmrc@0.0.3","dist":{"shasum":"7f5d969585449e07c2d016115b55502b46ee479c","size":3383,"noattachment":false,"key":"/npmrc/-/npmrc-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1387080514917,"_hasShrinkwrap":false,"_cnpm_publish_time":1387080514917,"_cnpmcore_publish_time":"2021-12-16T18:46:24.729Z"},"0.0.2":{"name":"npmrc","version":"0.0.2","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","readmeFilename":"README.md","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"_id":"npmrc@0.0.2","dist":{"shasum":"08ba946af924b08511145da349e8997ccacc7133","size":2706,"noattachment":false,"key":"/npmrc/-/npmrc-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1379546396026,"_hasShrinkwrap":false,"_cnpm_publish_time":1379546396026,"_cnpmcore_publish_time":"2021-12-16T18:46:24.925Z"},"0.0.1":{"name":"npmrc","version":"0.0.1","description":"Switch between different .npmrc files with ease and grace","preferGlobal":true,"bin":{"npmrc":"./npmrc"},"repository":{"type":"git","url":"git://github.com/deoxxa/npmrc.git"},"keywords":["npmrc","utility","shell"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","_id":"npmrc@0.0.1","dist":{"shasum":"07b94f471bc2206114c1058bff798c01c66c22d6","size":2343,"noattachment":false,"key":"/npmrc/-/npmrc-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npmrc/download/npmrc-0.0.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":""},{"name":"rvagg","email":""},{"name":"timoxley","email":""}],"directories":{},"publish_time":1348019746694,"_hasShrinkwrap":false,"_cnpm_publish_time":1348019746694,"_cnpmcore_publish_time":"2021-12-16T18:46:25.124Z"}},"readme":"npmrc\n=====\n\nSwitch between different .npmrc files with ease and grace.\n\nOverview\n--------\n\nIf you use a private npm registry, you know the pain of switching between a\nbunch of different .npmrc files and manually managing symlinks. Let that be a\nproblem no more! `npmrc` is here to save the day, by making it dead simple to\nswitch out your .npmrc with a specific named version. It also tries to protect\nyou from your own stupid self by making sure you don't accidentally overwrite an\n.npmrc that you actually want to keep.\n\n\nInstallation\n------------\n\n``` sh\nnpm install -g npmrc\n```\n\nUsage\n-----\n\n```\n➜  ~  npmrc --help\n\nnpmrc\n\n  Switch between different .npmrc files with ease and grace.\n\nUsage:\n  npmrc                 list all profiles\n  npmrc [name]          change npmrc profile (uses fuzzy matching)\n  npmrc -c [name]       create a new npmrc profile called name\n  npmrc -r [registry]   use an npm mirror\n\nAvailable mirrors for npmrc -r:\n  au      - Australian registry mirror\n  eu      - European registry mirror\n  cn      - Chinese registry mirror\n  default - Default registry\n```\n\n#### Initialisation\n\nCalling `npmrc` without arguments creates an `~/.npmrcs/` directory if it doesn't exist,\nand copies your current `~/.npmrc` as the 'default' .npmrc profile.\n\n```\n➜  ~  npmrc\nCreating /Users/conrad/.npmrcs\nMaking /Users/conrad/.npmrc the default npmrc file\nActivating .npmrc 'default'\n```\n\n#### Create a new .npmrc profile\n\n```\n➜  ~  npmrc -c newprofile\nRemoving old .npmrc (/home/rvagg/.npmrcs/default)\nActivating .npmrc 'newprofile'\n```\n\nA blank profile will be created. To point your profile to a non-default registry:\n\n```\n➜  ~  npm config set registry http://npm.nodejs.org.au:5984/registry/_design/app/_rewrite\n```\n\nThen use `npm adduser` or `npm login` to authenticate with the new profile.\n\n\n#### List available .npmrc profiles\n\n```\n➜  ~  npmrc \nAvailable npmrcs:\n    \n* default\n  work\n```\n\n#### Switch to a specific .npmrc \n\n```\n➜  ~  npmrc work\nRemoving old .npmrc (/Users/conrad/.npmrcs/default)\nActivating .npmrc 'work'\n```\n\nYou can also pass only the first few characters of a profile and `npmrc` will\nautocomplete the profile's name.\n\n```\n➜  ~  npmrc def\nRemoving old .npmrc (/Users/conrad/.npmrcs/work)\nActivating .npmrc 'default'\n```\n\n`npmrc <name>` will also go to some lengths to make sure you don't overwrite\nanything you might care about:\n\n```\n➜  ~  npmrc default\nRemoving old .npmrc (/Users/conrad/.npmrcs/work)\nActivating .npmrc 'default'\n➜  ~  npmrc default  \nCurrent .npmrc (/Users/conrad/.npmrc) is already 'default' (/Users/conrad/.npmrcs/default)\n➜  ~  rm ~/.npmrc\n➜  ~  touch ~/.npmrc\n➜  ~  npmrc default\nCurrent .npmrc (/Users/conrad/.npmrc) is not a regular file, not removing it\n➜  ~  rm ~/.npmrc\n➜  ~  npmrc default\nActivating .npmrc 'default'\n```\n\nNote For Windows Users\n----------------------\n\nYou may have to run npmrc in a shell (cmd, PowerShell, Git Bash, etc) with\nelevated (Administrative) privileges to get it to run.\n\nEnvironment Variables\n---------------------\n\n* `NPMRC_STORE` - Path to directory of profiles. Default: `~/.npmrcs/`\n* `NPMRC` - Path to the npmrc file used by npm. Default: `~/.npmrc`\n\nKnown npm registry Mirrors\n---------------------\n\nFor your convenience, you can change registries easily using the `-r`\nflag. Currently we provide aliases for:\n\n* [Australia](http://registry.npmjs.org.au/): `npmrc -r au`\n* [Europe](http://registry.npmjs.eu/): `npmrc -r eu`\n* [China](http://r.cnpmjs.org): `npmrc -r cn`\n\n#### Switching registry example\n\n```\n➜  ~  npm -r eu\nUsing eu registry\n➜  ~  npm info npmrc\nnpm http GET http://registry.npmjs.eu/npmrc\n^C\n➜  ~  npm -r default\nUsing default registry\n➜  ~  npm info npmrc\nnpm http GET https://registry.npmjs.org/npmrc\n^C\n```\n\nLicense\n-------\n\n3-clause BSD. A copy is included with the source.\n\nContact\n-------\n\n* GitHub ([deoxxa](http://github.com/deoxxa))\n* Twitter ([@deoxxa](http://twitter.com/deoxxa))\n* Email ([deoxxa@fknsrs.biz](mailto:deoxxa@fknsrs.biz))\n\nAwesome People\n--------------\n\n* Jaime \"the binary wizard\" Pillora ([github](https://github.com/jpillora))\n* Tim \"two hands\" Oxley ([github](https://github.com/timoxley))\n* Jakob \"fastest blur in the west\" Krigovsky ([github](https://github.com/SonicHedgehog))\n* Rod \"the destroyer\" Vagg ([github](https://github.com/rvagg))\n* Eugene \"ludicrous gibs\" Asiedu ([github](https://github.com/ngenerio))\n","_attachments":{},"homepage":"https://github.com/deoxxa/npmrc","bugs":{"url":"https://github.com/deoxxa/npmrc/issues"},"license":"BSD"}