{"_id":"npm-prefix","_rev":"157207","name":"npm-prefix","description":"Get global npm prefix. Respects npmrc configs","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"time":{"modified":"2021-06-03T11:37:28.000Z","created":"2015-08-29T21:06:38.749Z","1.2.0":"2016-02-23T21:18:26.209Z","1.1.1":"2015-11-02T12:01:24.604Z","1.1.0":"2015-10-31T09:01:06.256Z","1.0.1":"2015-09-06T20:23:36.795Z","1.0.0":"2015-08-29T21:06:38.749Z"},"users":{"max_devjs":true},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"versions":{"1.2.0":{"name":"npm-prefix","version":"1.2.0","description":"Get global npm prefix. Respects npmrc configs","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js"],"homepage":"https://github.com/eush77/npm-prefix","repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"keywords":["bin","config","global","lib","node_modules","npm","npmrc","path","prefix","require","resolve","root"],"dependencies":{"rc":"^1.1.0","shellsubstitute":"^1.1.0","untildify":"^2.1.0"},"devDependencies":{"os-homedir":"^1.0.1","rewire":"^2.5.1","tape":"^4.2.2"},"gitHead":"dc838b71f6f13e3aab550abe20b813f48b6ab294","_id":"npm-prefix@1.2.0","_shasum":"e619455f7074ba54cc66d6d0d37dd9f1be6bcbc0","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"e619455f7074ba54cc66d6d0d37dd9f1be6bcbc0","size":1690,"noattachment":false,"key":"/npm-prefix/-/npm-prefix-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-prefix/download/npm-prefix-1.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/npm-prefix-1.2.0.tgz_1456262303876_0.35444253496825695"},"directories":{},"publish_time":1456262306209,"_cnpm_publish_time":1456262306209,"_hasShrinkwrap":false},"1.1.1":{"name":"npm-prefix","version":"1.1.1","description":"Get global npm prefix. Respects npmrc configs","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js"],"homepage":"https://github.com/eush77/npm-prefix","repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"keywords":["bin","config","global","lib","node_modules","npm","npmrc","path","prefix","require","resolve","root"],"dependencies":{"rc":"^1.1.0","untildify":"^2.1.0"},"devDependencies":{"os-homedir":"^1.0.1","tape":"^4.2.2"},"gitHead":"dfe58e72c672e9dafa6a846e7d18b8ab9b1ef31b","_id":"npm-prefix@1.1.1","_shasum":"dd9efa2ec617118f24edb310e2f62cb1ee6dcb1c","_from":".","_npmVersion":"3.3.3","_nodeVersion":"2.1.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"dd9efa2ec617118f24edb310e2f62cb1ee6dcb1c","size":1635,"noattachment":false,"key":"/npm-prefix/-/npm-prefix-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-prefix/download/npm-prefix-1.1.1.tgz"},"directories":{},"publish_time":1446465684604,"_cnpm_publish_time":1446465684604,"_hasShrinkwrap":false},"1.1.0":{"name":"npm-prefix","version":"1.1.0","description":"Get global npm prefix. Respects npmrc configs","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js"],"homepage":"https://github.com/eush77/npm-prefix","repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"keywords":["bin","config","global","lib","node_modules","npm","npmrc","path","prefix","require","resolve","root"],"dependencies":{"rc":"^1.1.0","untildify":"^2.1.0"},"devDependencies":{"os-homedir":"^1.0.1","tape":"^4.2.2"},"gitHead":"40328cf56941e2bd82de3714b31a540cea0db0d1","_id":"npm-prefix@1.1.0","_shasum":"3e0e5eb2c6b1b9a5817a11a01204a0d8b08669d2","_from":".","_npmVersion":"3.3.4","_nodeVersion":"4.1.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"3e0e5eb2c6b1b9a5817a11a01204a0d8b08669d2","size":1626,"noattachment":false,"key":"/npm-prefix/-/npm-prefix-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-prefix/download/npm-prefix-1.1.0.tgz"},"directories":{},"publish_time":1446282066256,"_cnpm_publish_time":1446282066256,"_hasShrinkwrap":false},"1.0.1":{"name":"npm-prefix","version":"1.0.1","description":"Get global npm prefix. Respects npmrc configs","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","files":["index.js"],"homepage":"https://github.com/eush77/npm-prefix","repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"keywords":["bin","config","global","lib","node_modules","npm","npmrc","path","prefix","require","resolve","root"],"dependencies":{"rc":"^1.1.0"},"devDependencies":{},"gitHead":"f8b2e9b2d1a46bb9deebf89b97768b8dca128379","_id":"npm-prefix@1.0.1","scripts":{},"_shasum":"110be10281b68a260d075a5816512edbfe669722","_from":".","_npmVersion":"3.3.1","_nodeVersion":"3.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"110be10281b68a260d075a5816512edbfe669722","size":1505,"noattachment":false,"key":"/npm-prefix/-/npm-prefix-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-prefix/download/npm-prefix-1.0.1.tgz"},"directories":{},"publish_time":1441571016795,"_cnpm_publish_time":1441571016795,"_hasShrinkwrap":false},"1.0.0":{"name":"npm-prefix","version":"1.0.0","description":"Get global npm prefix. Respects npmrc configs","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","files":["index.js"],"homepage":"https://github.com/eush77/npm-prefix","repository":{"type":"git","url":"git+https://github.com/eush77/npm-prefix.git"},"bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"keywords":["bin","config","global","lib","node_modules","npm","npmrc","path","prefix","require","resolve","root"],"dependencies":{"rc":"^1.1.0"},"devDependencies":{},"gitHead":"dd6a85a980aace01dfee436932186e19f0e73610","_id":"npm-prefix@1.0.0","scripts":{},"_shasum":"860fcd307215cd4ddc95f6233b6e662252e6de9a","_from":".","_npmVersion":"3.2.1","_nodeVersion":"3.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"860fcd307215cd4ddc95f6233b6e662252e6de9a","size":1464,"noattachment":false,"key":"/npm-prefix/-/npm-prefix-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-prefix/download/npm-prefix-1.0.0.tgz"},"directories":{},"publish_time":1440882398749,"_cnpm_publish_time":1440882398749,"_hasShrinkwrap":false}},"readme":"[![npm](https://nodei.co/npm/npm-prefix.png)](https://npmjs.com/package/npm-prefix)\n\n# npm-prefix\n\n[![Build Status][travis-badge]][travis] [![Dependency Status][david-badge]][david]\n\nGet global npm prefix. Respects npmrc configs.\n\n[travis]: https://travis-ci.org/eush77/npm-prefix\n[travis-badge]: https://travis-ci.org/eush77/npm-prefix.svg?branch=master\n[david]: https://david-dm.org/eush77/npm-prefix\n[david-badge]: https://david-dm.org/eush77/npm-prefix.png\n\n## Example\n\n```js\nvar npmPrefix = require('npm-prefix');\n\nnpmPrefix()\n//=> '/usr/local'\n```\n\n## API\n\n#### `npmPrefix()`\n\nReturns the npm prefix.\n\n## Install\n\n```\nnpm install npm-prefix\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/eush77/npm-prefix","bugs":{"url":"https://github.com/eush77/npm-prefix/issues"},"license":"MIT"}