{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"44be9faf0bc59051a62cda6ded8a3ac9b9f13700","tarball":"https://registry.npmjs.org/dependency-path/-/dependency-path-4.0.6.tgz","fileCount":5,"integrity":"sha512-SwP72qpd77mooTEEy1vZcb0/p0opknIf96rmqCLCyQ7q6UJA1AcgLG4Wp6mRTRWSAc+8gHykP2Weqh1gvvSy+g==","signatures":[{"sig":"MEUCIQDo5H54UulR2vDkRB/DLZUF9xHqj557v+4ra+hXnQwwLgIgQrdf0mQB4wSZOX7SttWNBRet/6MqmiE1srvieMkP4PU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej4ZzCRA9TVsSAnZWagAA6iEQAIWZa2q7I2JPB+cOTU53\ngDjDmRvTb7fGdECfM7RKZu1vZ8OF13jNV1M8bjArzUFIKf0TR9nHMEcleZBW\nZSh5HxrzewvDbckKRsVy7V7PiD5SWoDFT4acbhGdGGmD/M9BczNX3PtFQs7F\nGlLllnvCyOqxRP+unM0pVVpVoVhU7a5Fth0HMAQex+PhL18cqTjf+cdG5Ylc\nncIXpyhF0gao1TIphI0GFPKCRz9DfOaibHBn+2HnLtsI8TqvlC+vqb4kf81e\njOsPsCWUQaEnjfqha8dNZavmOP9XT0y7tAAO/7fl5+8FI873fSVsTdFJy/Pi\nf9GFtGw6llcJEi+X7qxumW3WoLDYUObn1+CHwBg2H3/YauztH0yue0wWnLjl\nuP1FcYczg+Wj6SfBUXLAFHx4GOeW1iRjhL/cgEZ1UkUEW7nQcyazA9gxWop+\nxmzdBPCApkuZRcqgcSmKbPv5mn+m+WoIc2XwI2wKNfFAaMJ27ZfT30Qwwzz5\nOwXSHKVFtJfiSALaNxeepo4FuZHlWtf/LEseg0aHUUWj/1Z/y5LXpSaH6Bur\nSkwme8+dNZQxy4ZuH+/xGJEe9AWS6dLD+6W9CBLw1ksSnfn37pKwmn852RGM\nzXalxu5QLT9wt/Jv6XHwlDThJLgciOnrtfP+4qpklcSAAgJL/dqpq1H18bqO\ncQMx\r\n=tTWw\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"},"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.4","description":"Utilities for working with symlinked node_modules","directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"12.14.1","dependencies":{"semver":"^7.2.1","@pnpm/types":"5.0.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.6_1586464370968_0.5159026200181609","host":"s3://npm-registry-packages"},"_id":"dependency-path@4.0.6","version":"4.0.6"}