{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"b1e5314afb51faeed9aedd1124f7d1f0880ec278","tarball":"https://registry.npmjs.org/dependency-path/-/dependency-path-4.0.7-alpha.0.tgz","fileCount":6,"integrity":"sha512-4WOkuMKpnRsZopYtMBwUFsDr/APAK6LExYm8juhHO7IE81n+r8C5RHvc18ygqYoxbXQyA/3RHNOOHwSiY7myMg==","signatures":[{"sig":"MEUCIDZgZG8Cei70LAz9+gZBIQn4jT5pdnYzLGg54Wl950YGAiEArRp1uD8Vj3DconsTZi3OlMHAoIxCeg3H0XTQG2KAUpo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuaatCRA9TVsSAnZWagAA+1cP/Rw6rGWc0B9g9jIpPbGL\nUVwxRer2zCL41kwU3Q1g5T/x+NfimQP+2wTgzvpkjz/KoTnPCtLOl8whMlRT\nJEdGU/QXT7AEwEH+nRZ3oUwEiKCBE1VDCZG2SVPZzetIzz9KBW1/7k1e4O0Z\nDsu5EAF9ZcmlZNX96JNb8onJnlbSH1bc+SqZCpX1C6b/YvEnIedU9NUE0reU\nMojr+dTgPSIYc/Uf9f+9DZUuubv8gBG9CKmdUjI3IVKUH94Ij2VQm88tTbYI\nyA+fh21bPYZRCGafBy4r3cENH0V8eO0wy4HlIpMwEpuQATk0rZZkv9jkrdGY\nTHm3ilVcasS3N+LIIEWptjFX9jK90x334ePZf/DYocOioO5WSY38NVlhpFyt\nEgOlAPTJFXNivqsWl/6zjAa4g2ZCUtrDnQ7OLkW4wrzZ89W6dhEoIG5GhEhU\nvCtSt/hTzseirGJAW96OHqJFJgGfLygLkpxQUJI+CSSo9UOe56bh0RxD4K6T\nlR1LUbIj9dhYGusKOCEGAnS3ohl6ZdgDVV33kBzVIML7pIaZaEVEwPbJm7B7\nlpcntGsOAUnUMIvhRceRXVY5dsZv5mw11etxTRiP1OUdS14q6uGyHS4nEBGf\nUV01HDZnCglERG717HAKwmzMr3PsNqs0lbZjg5uAPpc/qlyAVlPVnNGLi74H\nu1Gv\r\n=YtH5\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-alpha.0","encode-registry":"2.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/semver":"^7.1.0","dependency-path":"link:"},"_npmOperationalInternal":{"tmp":"tmp/dependency-path_4.0.7-alpha.0_1589225132816_0.16716810095718748","host":"s3://npm-registry-packages"},"_id":"dependency-path@4.0.7-alpha.0","version":"4.0.7-alpha.0"}