{"_id":"npm-conf","_rev":"32774","name":"npm-conf","description":"Get the npm config","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:05:52.000Z","created":"2017-05-23T23:40:15.539Z","1.1.3":"2017-10-31T08:45:04.386Z","1.1.2":"2017-07-24T05:56:36.836Z","1.1.1":"2017-07-24T04:29:55.863Z","1.1.0":"2017-07-17T14:38:30.916Z","1.0.0":"2017-05-23T23:40:15.539Z"},"users":{"rocket0191":true,"evocateur":true},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"versions":{"1.1.3":{"name":"npm-conf","version":"1.1.3","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"prepublish":"node lib/make.js","test":"xo && ava"},"files":["index.js","lib"],"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"config-chain":"^1.1.11","pify":"^3.0.0"},"devDependencies":{"ava":"*","babel-generator":"^6.24.1","babel-traverse":"^6.24.1","babylon":"^6.17.1","npm":"^5.0.4","xo":"*"},"xo":{"ignores":["lib/defaults.js","lib/types.js"]},"gitHead":"173207aa7fa69f7284208e33df2a3880e031a0f6","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"homepage":"https://github.com/kevva/npm-conf#readme","_id":"npm-conf@1.1.3","_npmVersion":"5.3.0","_nodeVersion":"8.8.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"256cc47bd0e218c259c4e9550bf413bc2192aff9","size":6782,"noattachment":false,"key":"/npm-conf/-/npm-conf-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-conf/download/npm-conf-1.1.3.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf-1.1.3.tgz_1509439503494_0.2908018184825778"},"directories":{},"publish_time":1509439504386,"_hasShrinkwrap":false,"_cnpm_publish_time":1509439504386},"1.1.2":{"name":"npm-conf","version":"1.1.2","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"prepublish":"node lib/make.js","test":"xo && ava"},"files":["index.js","lib"],"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"config-chain":"^1.1.11","pify":"^3.0.0"},"devDependencies":{"ava":"*","babel-generator":"^6.24.1","babel-traverse":"^6.24.1","babylon":"^6.17.1","npm":"^5.0.4","xo":"*"},"xo":{"ignores":["lib/defaults.js","lib/types.js"]},"gitHead":"8a17a663f00c02dc039933d85b1bde7ccd03c3e4","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"homepage":"https://github.com/kevva/npm-conf#readme","_id":"npm-conf@1.1.2","_npmVersion":"5.3.0","_nodeVersion":"6.11.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"170a2c48a0c6ad0495f03f87aec2da11ef47a525","size":6763,"noattachment":false,"key":"/npm-conf/-/npm-conf-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-conf/download/npm-conf-1.1.2.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf-1.1.2.tgz_1500875795833_0.38783099642023444"},"directories":{},"publish_time":1500875796836,"_hasShrinkwrap":false,"_cnpm_publish_time":1500875796836},"1.1.1":{"name":"npm-conf","version":"1.1.1","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"prepublish":"node lib/make.js","test":"xo && ava"},"files":["index.js","lib"],"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"config-chain":"^1.1.11","pify":"^3.0.0"},"devDependencies":{"ava":"*","babel-generator":"^6.24.1","babel-traverse":"^6.24.1","babylon":"^6.17.1","npm":"^5.0.4","xo":"*"},"xo":{"ignores":["lib/defaults.js","lib/types.js"]},"gitHead":"25b947f4cb1fb29bc84d03d7bdd46bfd51b088d3","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"homepage":"https://github.com/kevva/npm-conf#readme","_id":"npm-conf@1.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"ca5b89092d1195262d358771948c1040a6a06d91","size":6768,"noattachment":false,"key":"/npm-conf/-/npm-conf-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-conf/download/npm-conf-1.1.1.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf-1.1.1.tgz_1500870594896_0.22764478181488812"},"directories":{},"publish_time":1500870595863,"_hasShrinkwrap":false,"_cnpm_publish_time":1500870595863},"1.1.0":{"name":"npm-conf","version":"1.1.0","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"prepublish":"node lib/make.js","test":"xo && ava"},"files":["index.js","lib"],"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"config-chain":"^1.1.11","pify":"^3.0.0"},"devDependencies":{"ava":"*","babel-generator":"^6.24.1","babel-traverse":"^6.24.1","babylon":"^6.17.1","npm":"^5.0.4","xo":"*"},"xo":{"ignores":["lib/defaults.js","lib/types.js"]},"gitHead":"d225004abc9b995ee1a1dab638ffee0548fed9e9","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"homepage":"https://github.com/kevva/npm-conf#readme","_id":"npm-conf@1.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"96a172ff24e346ccbb452b9faaf4209889f45557","size":6736,"noattachment":false,"key":"/npm-conf/-/npm-conf-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-conf/download/npm-conf-1.1.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf-1.1.0.tgz_1500302309957_0.7037971967365593"},"directories":{},"publish_time":1500302310916,"_hasShrinkwrap":false,"_cnpm_publish_time":1500302310916},"1.0.0":{"name":"npm-conf","version":"1.0.0","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/npm-conf.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"npm":"^4.6.1","pify":"^2.3.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"d818bb29480c7331993d1e23197b623da1f7df16","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"homepage":"https://github.com/kevva/npm-conf#readme","_id":"npm-conf@1.0.0","_shasum":"70601e667192acc36d8c4675d275a41b90dde1fb","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.8.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"70601e667192acc36d8c4675d275a41b90dde1fb","size":1473,"noattachment":false,"key":"/npm-conf/-/npm-conf-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-conf/download/npm-conf-1.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf-1.0.0.tgz_1495582814683_0.4494955581612885"},"directories":{},"publish_time":1495582815539,"_hasShrinkwrap":false,"_cnpm_publish_time":1495582815539}},"readme":"# npm-conf [![Build Status](https://travis-ci.org/kevva/npm-conf.svg?branch=master)](https://travis-ci.org/kevva/npm-conf)\n\n> Get the npm config\n\n\n## Install\n\n```\n$ npm install npm-conf\n```\n\n\n## Usage\n\n```js\nconst npmConf = require('npm-conf');\n\nconst conf = npmConf();\n\nconf.get('prefix')\n//=> //=> /Users/unicorn/.npm-packages\n\nconf.get('registry')\n//=> https://registry.npmjs.org/\n```\n\nTo get a list of all available `npm` config options:\n\n```bash\n$ npm config list --long\n```\n\n\n## API\n\n### npmConf()\n\nReturns the `npm` config.\n\n### npmConf.defaults\n\nReturns the default `npm` config.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/npm-conf#readme","bugs":{"url":"https://github.com/kevva/npm-conf/issues"},"license":"MIT"}