{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"aba66954c1811015a64a30d42214889933cd8654","tarball":"https://registry.npmjs.org/dependency-path/-/dependency-path-5.0.3.tgz","fileCount":6,"integrity":"sha512-h/nP7VSIblhW5jx9Y39FEnA0OVGdfZlycRO7ekf2GOrmtdIb8DIvaPXzDZtM+zItIw8LHw/9AMV0QHk4yM2OoA==","signatures":[{"sig":"MEYCIQCU0JHZqrXNAmxY5lmreCua4nPwffevq43YFLjIGdepwgIhAL+fek2a5BGXUQ87XQ2tQ+IvZ2dpRIz4vHT+TCh6LiEZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI/fXCRA9TVsSAnZWagAABxwQAKUU6NR/8mTXSa6g8PjV\njjH81n7aWCaDea1WF+0vBhysrF5xwDglwYT+zM7kjsfQta6KN2+vqtmH/QC/\nCx+lSKmC04teUh+Agy2BQpdHu/U7EV9pMNNPPCXli8muAm8ga6To8nF63CBS\n95vhIOd4lP6VDA5ajZXspeEin4gqSXyxlxguf2ZbyV88Lh9qbNGRxdXypRuM\nbVXf61Sd7SzWDOVzB0i/Fl1RGWw3qESHpvWiibZhoH5t/WofDXrLkuraUpBq\njr5RhQnRM/d/UABwwO0wwZ4IV+E5DjZmzFJfKyzPPgCfXPvSezPFtA4DN3ia\nNf9Zw84ziG5FDbumHK9u/l5//ummLsdoUt5kf6DubVVdmqNkPzjQ55FQ6if7\neN6EbCEiXVZfZds+4BLItK5VSoiisINO5sn+/dyZYvpGtxXzOGd0EtZBM3SV\no7OXl3FVyPkqtRx2glHuF/yMZnry8L/Ql1qPWB1NDdUUCrRcPpRWalQKQSgs\nSU3YbcoGsH/BFsIr/N7jujyBTrYFnNwH0xOl1RHLUIchy30P8pKS2lhX5YjY\n/LfcTAREtjjn23BsKzCzoMdrlmgyXOSXDJSxsWVNDjfdZrR2EqQPCW8L+Vw7\ny9OIe5dkBquN6ZkwmCoaLR3q0JPD9qROW3cF3PDhMriDxK8keMCKoHuHjczY\nQhR1\r\n=Hm+Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"dependency-path","author":{"url":"https://www.kochan.io/","name":"Zoltan Kochan","email":"z@kochan.io"},"readme":"# dependency-path\n\n> Utilities for working with symlinked node_modules\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/dependency-path.svg)](https://www.npmjs.com/package/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\n<pnpm|npm|yarn> add 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\nMIT © [Zoltan Kochan](https://www.kochan.io/)\n","engines":{"node":">=10.13"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"tslint -c ../../tslint.json src/**/*.ts test/**/*.ts","test":"pnpm run compile && pnpm run _test","_test":"cd ../.. && c8 --reporter lcov --reports-dir packages/dependency-path/coverage ts-node packages/dependency-path/test --type-check","compile":"rimraf lib tsconfig.tsbuildinfo && tsc --build","prepublishOnly":"pnpm run compile"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/dependency-path#readme","keywords":["node_modules","pnpm","path"],"repository":{"url":"https://github.com/pnpm/pnpm/blob/master/packages/dependency-path","type":"git"},"_npmVersion":"6.14.6","description":"Utilities for working with symlinked node_modules","directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"12.18.3","dependencies":{"semver":"^7.3.2","@pnpm/types":"6.2.0","encode-registry":"^2.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/semver":"^7.3.1","dependency-path":"link:"},"_npmOperationalInternal":{"tmp":"tmp/dependency-path_5.0.3_1596192727388_0.22137099233874635","host":"s3://npm-registry-packages"},"_id":"dependency-path@5.0.3","version":"5.0.3"}