{"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"keywords":["global","module","modules","npm","path","prefix","resolve"],"dist-tags":{"latest":"0.1.5"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Get the npm global path prefix.","readme":"# global-prefix [![NPM version](https://img.shields.io/npm/v/global-prefix.svg?style=flat)](https://www.npmjs.com/package/global-prefix) [![NPM downloads](https://img.shields.io/npm/dm/global-prefix.svg?style=flat)](https://npmjs.org/package/global-prefix) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/global-prefix.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/global-prefix) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/global-prefix.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/global-prefix)\n\n> Get the npm global path prefix.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save global-prefix\n```\n\nThis is based on the code used by npm internally to resolve the global prefix.\n\n## Usage\n\n```js\nvar prefix = require('global-prefix');\n//=> '/usr/local'\n```\n\n## About\n\n### Related projects\n\n* [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules \"The directory used by npm for globally installed npm modules.\")\n* [global-paths](https://www.npmjs.com/package/global-paths): Returns an array of unique \"global\" directories based on the user's platform and environment. The… [more](https://github.com/jonschlinkert/global-paths) | [homepage](https://github.com/jonschlinkert/global-paths \"Returns an array of unique \"global\" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 16 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [rmbaad](https://github.com/rmbaad) |\n| 1 | [jason-chang](https://github.com/jason-chang) |\n| 1 | [jorrit](https://github.com/jorrit) |\n| 1 | [mathiasvr](https://github.com/mathiasvr) |\n| 1 | [tunnckoCore](https://github.com/tunnckoCore) |\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on November 30, 2016._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","versions":{"0.1.0":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/global-prefix/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"_id":"global-prefix@0.1.0","_shasum":"3075802411c8eb1a1fe81cdc3c1cb186663fed32","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3075802411c8eb1a1fe81cdc3c1cb186663fed32","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.0.tgz"},"directories":{}},"0.1.1":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"dependencies":{"is-windows":"^0.1.0"},"keywords":["global","module","modules","npm","path","prefix","resolve"],"verb":{"related":{"list":["global-modules","global-paths"]}},"gitHead":"7fc9b76d77a927e8645434c24189e2864ca976be","_id":"global-prefix@0.1.1","_shasum":"1596916684dca256c3379290807d77eee68c3838","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1596916684dca256c3379290807d77eee68c3838","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.1.tgz"},"directories":{}},"0.1.2":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-windows":"^0.1.0"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"*"},"keywords":["global","module","modules","npm","path","prefix","resolve"],"verb":{"run":true,"toc":false,"layout":"nil","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["global-modules","global-paths"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"cf1c305c67c97b36b61126b13b9825b07396f677","_id":"global-prefix@0.1.2","_shasum":"96f2349b499e1eb11f2a6a7081e50089ef0bd89c","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"96f2349b499e1eb11f2a6a7081e50089ef0bd89c","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/global-prefix-0.1.2.tgz_1457865107463_0.11074146791361272"},"directories":{}},"0.1.3":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-windows":"^0.1.1"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["global","module","modules","npm","path","prefix","resolve"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["global-modules","global-paths"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"96d5b1137b5276361e65438ae49e79c46cfdba9e","_id":"global-prefix@0.1.3","_shasum":"9ea80cb297eef3b0659c1a2e2b5cc12cb25fcbf4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9ea80cb297eef3b0659c1a2e2b5cc12cb25fcbf4","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/global-prefix-0.1.3.tgz_1460058144334_0.26073641143739223"},"directories":{}},"0.1.4":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.4","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ini":"^1.3.4","is-windows":"^0.2.0","osenv":"^0.1.3","which":"^1.2.10"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["global","module","modules","npm","path","prefix","resolve"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["global-modules","global-paths"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"e436842c55f6a711a1d801e19d5142e58b80a8fd","_id":"global-prefix@0.1.4","_shasum":"05158db1cde2dd491b455e290eb3ab8bfc45c6e1","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"05158db1cde2dd491b455e290eb3ab8bfc45c6e1","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.4.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/global-prefix-0.1.4.tgz_1465117849156_0.5271593367215246"},"directories":{}},"0.1.5":{"name":"global-prefix","description":"Get the npm global path prefix.","version":"0.1.5","homepage":"https://github.com/jonschlinkert/global-prefix","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/global-prefix.git"},"bugs":{"url":"https://github.com/jonschlinkert/global-prefix/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"homedir-polyfill":"^1.0.0","ini":"^1.3.4","is-windows":"^0.2.0","which":"^1.2.12"},"devDependencies":{"fs-exists-sync":"^0.1.0","gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["global","module","modules","npm","path","prefix","resolve"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["global-modules","global-paths"]},"reflinks":["verb"],"lint":{"reflinks":true}},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"},{"name":"Alexandr Bogachev","email":"kuksikus@gmail.com","url":"https://github.com/rmbaad"},{"name":"JasonChang","email":"chaoyue.chang@qq.com","url":"https://packagist.org/packages/jason-chang"},{"name":"Jorrit Schippers","url":"https://www.ncode.nl"},{"name":"Mathias Rasmussen","url":"https://github.com/mathiasvr"},{"name":"Charlike Mike Reagent","url":"http://i.am.charlike.online"}],"gitHead":"eef31e4309f28a570ac022428e3b8ddc0b25a44b","_id":"global-prefix@0.1.5","_shasum":"8d3bc6b8da3ca8112a160d8d496ff0462bfef78f","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"8d3bc6b8da3ca8112a160d8d496ff0462bfef78f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/global-prefix/-/global-prefix-0.1.5.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/global-prefix-0.1.5.tgz_1480528187282_0.7493393055628985"},"directories":{}}},"name":"global-prefix","contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"},{"name":"Alexandr Bogachev","email":"kuksikus@gmail.com","url":"https://github.com/rmbaad"},{"name":"JasonChang","email":"chaoyue.chang@qq.com","url":"https://packagist.org/packages/jason-chang"},{"name":"Jorrit Schippers","url":"https://www.ncode.nl"},{"name":"Mathias Rasmussen","url":"https://github.com/mathiasvr"},{"name":"Charlike Mike Reagent","url":"http://i.am.charlike.online"}],"time":{"modified":"2016-11-30T17:49:48.997Z","created":"2015-02-28T08:11:31.338Z","0.1.0":"2015-02-28T08:11:31.338Z","0.1.1":"2015-07-16T23:24:13.986Z","0.1.2":"2016-03-13T10:31:49.720Z","0.1.3":"2016-04-07T19:42:26.486Z","0.1.4":"2016-06-05T09:10:52.641Z","0.1.5":"2016-11-30T17:49:48.997Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/global-prefix"}