{
  "_args": [
    [
      {
        "raw": "global-dirs@^0.1.0",
        "scope": null,
        "escapedName": "global-dirs",
        "name": "global-dirs",
        "rawSpec": "^0.1.0",
        "spec": ">=0.1.0 <0.2.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/is-installed-globally"
    ]
  ],
  "_from": "global-dirs@>=0.1.0 <0.2.0",
  "_id": "global-dirs@0.1.1",
  "_inCache": true,
  "_location": "/global-dirs",
  "_nodeVersion": "4.8.4",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/global-dirs-0.1.1.tgz_1511072938335_0.43734972598031163"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "2.15.11",
  "_phantomChildren": {},
  "_requested": {
    "raw": "global-dirs@^0.1.0",
    "scope": null,
    "escapedName": "global-dirs",
    "name": "global-dirs",
    "rawSpec": "^0.1.0",
    "spec": ">=0.1.0 <0.2.0",
    "type": "range"
  },
  "_requiredBy": [
    "/is-installed-globally"
  ],
  "_resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
  "_shasum": "b319c0dd4607f353f3be9cca4c72fc148c49f445",
  "_shrinkwrap": null,
  "_spec": "global-dirs@^0.1.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/is-installed-globally",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/global-dirs/issues"
  },
  "dependencies": {
    "ini": "^1.3.4"
  },
  "description": "Get the directory of globally installed packages and binaries",
  "devDependencies": {
    "ava": "*",
    "execa": "^0.7.0",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "shasum": "b319c0dd4607f353f3be9cca4c72fc148c49f445",
    "tarball": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz"
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "bcb8a21a40930022e069f9c5b506ce41c8d46bff",
  "homepage": "https://github.com/sindresorhus/global-dirs#readme",
  "keywords": [
    "global",
    "prefix",
    "path",
    "paths",
    "npm",
    "yarn",
    "node",
    "modules",
    "node-modules",
    "package",
    "packages",
    "binary",
    "binaries",
    "bin",
    "directory",
    "directories",
    "npmrc",
    "rc",
    "config",
    "root",
    "resolve"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "global-dirs",
  "optionalDependencies": {},
  "readme": "# global-dirs [![Build Status](https://travis-ci.org/sindresorhus/global-dirs.svg?branch=master)](https://travis-ci.org/sindresorhus/global-dirs)\n\n> Get the directory of globally installed packages and binaries\n\nUses the same resolution logic as `npm` and `yarn`.\n\n\n## Install\n\n```\n$ npm install global-dirs\n```\n\n\n## Usage\n\n```js\nconst globalDirs = require('global-dirs');\n\nconsole.log(globalDirs.npm.prefix);\n//=> '/usr/local'\n\nconsole.log(globalDirs.npm.packages);\n//=> '/usr/local/lib/node_modules'\n\nconsole.log(globalDirs.npm.binaries);\n//=> '/usr/local/bin'\n\nconsole.log(globalDirs.yarn.packages);\n//=> '/Users/sindresorhus/.config/yarn/global/node_modules'\n```\n\n\n## API\n\n### globalDirs\n\n#### npm\n#### yarn\n\n##### packages\n\nDirectory with globally installed packages.\n\nEquivalent to `npm root --global`.\n\n##### binaries\n\nDirectory with globally installed binaries.\n\nEquivalent to `npm bin --global`.\n\n##### prefix\n\nDirectory with directories for packages and binaries. You probably want either of the above.\n\nEquivalent to `npm prefix --global`.\n\n\n## Related\n\n- [import-global](https://github.com/sindresorhus/import-global) - Import a globally installed module\n- [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module\n- [is-installed-globally](https://github.com/sindresorhus/is-installed-globally) - Check if your package was installed globally\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/global-dirs.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "0.1.1"
}
