{"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"7296a44d90b32bb907beb0b592d00c41c73c772c","tarball":"https://registry.npmjs.org/dependency-path/-/dependency-path-3.0.0-0.tgz","fileCount":6,"integrity":"sha512-0W69Cd1UPWUT5B5bCRRkqMDM2hHax+vAuDooeIr4E+YBHMAzeMwGcXpCt01y6dMZe0LJnLyDreKSuzSjPV7jwA==","signatures":[{"sig":"MEUCIQC5ENiA4Gxr78oj2K99eetLtJZK4f3RRgt3WfEkWAuw2gIgBOUTJ7bJj7OXq76SL1Q38pFtUO0m/uDNV3tjSU+WSpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSipbCRA9TVsSAnZWagAAAmwP/0E+OZe2ZszwkF2pEzhs\nSll9FP1S0I6Ja4Lvtl29T78vS65OiQ6GKlnokkbJdAlb9EyKOfzCntwn3Y32\nw9V7GHF8tEufbLEKbUlWqZVeExfFtcFDu+JmO/E2eK5y4uD3bup1Bi9trtU2\nQdMZAlRFzjFHqMWqGAZbyY0jhtvkjJUoOQIpZOhQJkTBM6z0vcmzjX6HrBCK\n1/OSBSEH2p9cOOVCZzcQwT3kdSxfjm351GXZ2TAZLpFpL42cRhGQB5bPhtug\nunA386yCTZ3x3aGdujmsev27xPPcFZrX1mBKapqHPT4c7gXhgVv0fcLJWIEx\nHJP4CEf0ByJo604C5hh+BEAT6sTRM4KhKZ5Th/OILF51E7UpXS6BI3Xo9daY\nI2UIT8Env8lH6UaIpQ1hCzO90qDxyRcoh1/xY2/946LJzW6iBtAugv3IQIjQ\nLo+/y+Hkh12QcyYci3tvAtSwHtqkccLsBnS07BK5K1jZ30hu9mmPUZ1/Jelm\ndbfbefAYbrHvgJU50SsOYafcQeN1PVazdxRYlbJ8D3gXjlczt5tV+VWxhQGV\nU8LJkynnZ0qhtvISnpzN5Sq2qzzlUcnod/uD+wdZYj/7h55/wtGhfCN4zKwE\nrfTI6kto9Yf0frQHu5sUSWLXNm6kffCgHt2nqawjYgWnuHDsJ8Zke7bbvwqr\nY1gG\r\n=uNSV\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\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","engines":{"node":">=6"},"license":"MIT","scripts":{"md":"mos","tsc":"tsc","lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && pnpm link . && npm run lint && ts-node test.ts","prepublishOnly":"tsc"},"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.6.0","description":"Utilities for working with symlinked node_modules","directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"10.12.0","dependencies":{"semver":"^5.4.1","@pnpm/types":"2.0.0","@types/semver":"^5.4.0","encode-registry":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mos":"^2.0.0-alpha.3","tape":"^4.8.0","tslint":"5.12.1","ts-node":"^7.0.0","typescript":"3.2.4","@types/tape":"^4.2.30","mos-plugin-readme":"^1.0.4","@pnpm/tslint-config":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/dependency-path_3.0.0-0_1548364378980_0.12014762850163829","host":"s3://npm-registry-packages"},"_id":"dependency-path@3.0.0-0","version":"3.0.0-0"}