{
  "_args": [
    [
      {
        "raw": "dependency-path@^2.0.0",
        "scope": null,
        "escapedName": "dependency-path",
        "name": "dependency-path",
        "rawSpec": "^2.0.0",
        "spec": ">=2.0.0 <3.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/outdated"
    ]
  ],
  "_from": "dependency-path@>=2.0.0 <3.0.0",
  "_id": "dependency-path@2.0.0",
  "_inCache": true,
  "_location": "/dependency-path",
  "_nodeVersion": "9.10.1",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/dependency-path_2.0.0_1534939551832_0.9648189066804755"
  },
  "_npmUser": {
    "name": "zkochan",
    "email": "z@kochan.io"
  },
  "_npmVersion": "6.4.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "dependency-path@^2.0.0",
    "scope": null,
    "escapedName": "dependency-path",
    "name": "dependency-path",
    "rawSpec": "^2.0.0",
    "spec": ">=2.0.0 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/@pnpm/headless",
    "/@pnpm/outdated",
    "/@pnpm/utils",
    "/dependencies-hierarchy",
    "/pnpm-shrinkwrap",
    "/supi"
  ],
  "_resolved": "https://registry.npmjs.org/dependency-path/-/dependency-path-2.0.0.tgz",
  "_shasum": "173c1e7fe2584c3a33d49d8f3cdc7c21f490421a",
  "_shrinkwrap": null,
  "_spec": "dependency-path@^2.0.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/outdated",
  "author": {
    "name": "Zoltan Kochan",
    "email": "z@kochan.io",
    "url": "https://www.kochan.io/"
  },
  "bugs": {
    "url": "https://github.com/pnpm/dependency-path/issues"
  },
  "dependencies": {
    "@types/semver": "^5.4.0",
    "encode-registry": "^1.0.0",
    "semver": "^5.4.1"
  },
  "description": "Utilities for working with symlinked node_modules",
  "devDependencies": {
    "@types/tape": "^4.2.30",
    "mos": "^2.0.0-alpha.3",
    "mos-plugin-readme": "^1.0.4",
    "package-preview": "^1.0.0",
    "tape": "^4.8.0",
    "ts-node": "^7.0.0",
    "typescript": "^3.0.0"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-Al6qJe6ip6vgm+BfCEZlN1prHDtE4SvyfEYKm+1JcWThc2W2STQP0KCa8VOf50Wo+L6oe5Yu3hRjSN+MEYlIxA==",
    "shasum": "173c1e7fe2584c3a33d49d8f3cdc7c21f490421a",
    "tarball": "https://registry.npmjs.org/dependency-path/-/dependency-path-2.0.0.tgz",
    "fileCount": 6,
    "unpackedSize": 9698,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfVGgCRA9TVsSAnZWagAAM1MP/3zWbTrK/Vx+7xFt0TkH\n6W8Redre+VandXaRDW5K35WtM2gW+l0IAWjpW6sG2+JSN7Lgj3wA6NWsi4k+\nO9QiXe7wduhRPgxc4NPrWKsfPqpgF+ZiC69ygYUZI2ZCXBQHq2NpV69Fd+Gn\nTDD56ZdW602T/8YY5IG37dJtQbShhYImqm15f2yUEObyPl0bL+CoFbDahlkm\nu2xUphjFK+csToSAHs/7zOPHDa2d5CupaXhTZvf8TkbYf2wKbGxBg0atK0rL\nBl0m0GLKgJxTSf+f99AlIoCpsqGJtFeAKfKi8Spe3OHSGVAnJ8Znr5uJOSDA\nd6lCfT+EQrdLRlsR7Q2if4ZpkNhwsStMANEjP9SLfOPLJiN0xmmCFH0ogPpu\niL2NjpuMkvmXVc+E+C58ljgf3NvHXH5bQBV60av3pHTVpdug9HUJU4JcZNeK\nD7wkvk62fk2jMTdYnaMeUuPdv60fdiP1Agdd1V2Eug9wVMCdfpCIfOujdmj+\nyHx79JWyM9x18UgJcO8hHuJ+w42g4FkPvzKnreZ0K2JDsPlsUagBe0sO1VG4\nyjHOfEJN9zOLUOrpDfdOrT10PugrW2Fy6S5aKpwukvUg4CfAHTC1FwgpljAj\n/D5sNu/eSFqJE7BSh3LD/wdQUHYVTYupr6Xp3xCdXujmlJ1Kaly2pfBHTAqe\noKg3\r\n=6vNe\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "lib"
  ],
  "gitHead": "adc724f24f0f34adccd4f9d09b381e75d42aeb91",
  "homepage": "https://github.com/pnpm/dependency-path#readme",
  "keywords": [
    "node_modules",
    "pnpm",
    "path"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "maintainers": [
    {
      "name": "zkochan",
      "email": "zoltan.kochan@gmail.com"
    }
  ],
  "mos": {
    "plugins": [
      "readme"
    ],
    "installation": {
      "useShortAlias": true
    }
  },
  "name": "dependency-path",
  "optionalDependencies": {},
  "readme": "# dependency-path\n\n> Utilities for working with symlinked node_modules\n\n<!--@shields('npm', 'travis')-->\n[![npm version](https://img.shields.io/npm/v/dependency-path.svg)](https://www.npmjs.com/package/dependency-path) [![Build Status](https://img.shields.io/travis/pnpm/dependency-path/master.svg)](https://travis-ci.org/pnpm/dependency-path)\n<!--/@-->\n\nLike `path` but for packages in a symlinked `node_modules`. Symlinked `node_modules` is a unique dependencies layout that\n[pnpm](https://github.com/pnpm/pnpm) creates.\n\n## Installation\n\n```sh\nnpm i -S dependency-path\n```\n\n## Usage\n\n<!--@example('./example.js')-->\n```js\nconst dependencyPath = require('dependency-path')\n\nconst registry = 'https://registry.npmjs.org/'\n\nconsole.log(dependencyPath.isAbsolute('/foo/1.0.0'))\n//> false\n\n// it is confusing currently because relative starts with /.\n// It will be changed in the future to vice versa\nconsole.log(dependencyPath.resolve(registry, '/foo/1.0.0'))\n//> registry.npmjs.org/foo/1.0.0\n\nconsole.log(dependencyPath.relative(registry, 'registry.npmjs.org/foo/1.0.0'))\n//> /foo/1.0.0\n\nconsole.log(dependencyPath.refToAbsolute('1.0.1', 'foo', registry))\n//> registry.npmjs.org/foo/1.0.1\n\nconsole.log(dependencyPath.refToAbsolute('github.com/foo/bar/twe0jger043t0ew', 'foo', registry))\n//> github.com/foo/bar/twe0jger043t0ew\n\nconsole.log(dependencyPath.refToRelative('1.0.1', 'foo', registry))\n//> /foo/1.0.1\n\nconsole.log(dependencyPath.parse('/foo/2.0.0'))\n//> { isAbsolute: false, name: 'foo', version: '2.0.0' }\n```\n<!--/@-->\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pnpm/dependency-path.git"
  },
  "scripts": {
    "md": "mos",
    "prepublishOnly": "tsc",
    "test": "preview && ts-node test.ts && mos t",
    "tsc": "tsc"
  },
  "typings": "lib/index.d.ts",
  "version": "2.0.0"
}
