{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"3719a869ece9505c3951ca087a91a00a246e9bd8","tarball":"https://registry.npmjs.org/dependency-path/-/dependency-path-4.0.7.tgz","fileCount":6,"integrity":"sha512-7p7gzG0z9RDQGItCFMPdvcFL/ujGtUJv2UW2OZa5E25lgpbONtaw6iXUoafOFFFe0mQydpKat8QQ3up3nH4/Hw==","signatures":[{"sig":"MEYCIQDMiwLm37MS6Qn+gS/WdO/jCtr6l8Gr1GqAvn1JgdndmAIhAIsT72TEVD7M3IZ5h695Jw54mQaw6oM96tmjC9ENdqe0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyR7aCRA9TVsSAnZWagAAwtcP/A4ZcSUW7H0VFi8J9IOD\nTkJFOKLJ4bHojNVTORp3Q8ZhOC8OFlSYRRwG8sE04P8hQ/JpGoJ5azr5oiPB\nRwoXU/kE1O000v9nDIgSbQ5LQPryU63qEY0SU7GchdrZ0uMFOlIulLjPmT1W\nKi3RXqTlg6OgkUn3Un1Nc/nP4q6IsGooLj3/pFoyeCwiGbHHROAIv2RDQaPQ\ntYiy61uOlYhRhl1AwNjYM7XznKWtbcQwuJiPhcw//51L+FNGiHGvutz0YW4n\nmaGTkHJM753YXlSOsXUx7LZO1EBJ4rjPhQt03BuB6MZNnruUjAoyUwFhPaVx\nyR8UlAKPkOKUmH63CWrHPJaLlAhUDp3UsIC/fLglwUPKt8ThQhWoOwNJlDsa\nSAbYxGTe7VgRKglKsxDYCtpkpSJRoxQYyMKJu7w1UtxF6XJ1HBqgZSmNb0vX\nTIJnNvD1ObFMEUR8M5k1xa+QxdUufD8GWGP2kqWmlFzMzH2vhPiS62hJI//f\nggiXKmhYh9H20lpaL58V1Bl2jDhqiC7nEDvGxEUNG8zMOLHXFSx1duooR1nm\n65paBoQklfeUt4NzAO7/Zpi+H9cCByKKlOvtKqb1URwWlKVVSkUOz1DkrTH2\n6pHZkijGMwfU7OjdgqCv7V+qzRKDyZrgnS9UDYOElh9RnZlf5bOmsSfq7O1V\nZgQq\r\n=TbYv\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.5","description":"Utilities for working with symlinked node_modules","directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"12.16.3","dependencies":{"semver":"^7.3.2","@pnpm/types":"6.0.0","encode-registry":"2.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/semver":"^7.2.0","dependency-path":"link:"},"_npmOperationalInternal":{"tmp":"tmp/dependency-path_4.0.7_1590238937992_0.9185104120524559","host":"s3://npm-registry-packages"},"_id":"dependency-path@4.0.7","version":"4.0.7"}