{"name":"@pnpm/local-resolver","version":"0.2.2","keywords":["pnpm","resolver","npm"],"author":{"url":"https://www.kochan.io/","name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","_id":"@pnpm/local-resolver@0.2.2","maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/local-resolver#readme","bugs":{"url":"https://github.com/pnpm/local-resolver/issues"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"dist":{"shasum":"952028a8f01e58ec4b3e22f910fa7c88585ce258","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-0.2.2.tgz","fileCount":9,"integrity":"sha512-tAGRiCX8EjMj2sJuiJlWncv1N8CUSoYmmfgJIoWu2q3uMdBvkY4/K5sCjghjGnB9mEmb1inObRyOwBOKrlBOlA==","signatures":[{"sig":"MEUCIGnYaOliq925oUUfwR4yhVipaTvbimzKJWGV0pEpAhoCAiEAnowsOUIPLN+S5wQxhGb/6CFKkpoVCoyeGAOP6q+enj0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14900,"size":5224,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-0.2.2.tgz"},"main":"lib/index.js","files":["lib"],"engines":{"node":">=4"},"gitHead":"f6c4c83196711227de80bcfe47e68691b67dc4d1","scripts":{"md":"mos","fix":"tslint -c tslint.json --project . --fix","tsc":"tsc","lint":"tslint -c tslint.json --project .","test":"npm run lint && preview && ts-node test --ts-node","prepublishOnly":"npm run tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"repository":{"url":"git+https://github.com/pnpm/local-resolver.git","type":"git"},"_npmVersion":"5.7.1","description":"Resolver for local packages","directories":{},"_nodeVersion":"6.11.4","dependencies":{"ssri":"^5.2.4","osenv":"^0.1.4","@pnpm/types":"^1.1.0","@types/node":"^9.3.0","graceful-fs":"^4.1.11","normalize-path":"^2.1.1","util.promisify":"^1.0.0","read-package-json":"^2.0.12","@types/graceful-fs":"^4.1.2"},"_hasShrinkwrap":false,"devDependencies":{"mos":"^2.0.0-alpha.3","tape":"^4.8.0","tslint":"^5.8.0","ts-node":"^5.0.0","typescript":"^2.6.1","@types/tape":"^4.2.31","package-preview":"^1.0.1","mos-plugin-readme":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/local-resolver_0.2.2_1520069721045_0.36655680112908984","host":"s3://npm-registry-packages"},"readme":"# @pnpm/local-resolver\n\n> Resolver for local packages\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/local-resolver.svg)](https://www.npmjs.com/package/@pnpm/local-resolver)\n<!--/@-->\n\n## Installation\n\n```\npnpm add @pnpm/local-resolver\n```\n\n## Usage\n\n```js\n'use strict'\nconst resolveFromLocal = require('@pnpm/local-resolver').default\n\nresolveFromLocal({pref: './example-package'}, {prefix: process.cwd()})\n  .then(resolveResult => console.log(resolveResult))\n//> { id: 'link:example-package',\n//    normalizedPref: 'link:example-package',\n//    package:\n//     { name: 'foo',\n//       version: '1.0.0',\n//       readme: '# foo\\n',\n//       readmeFilename: 'README.md',\n//       description: '',\n//       _id: 'foo@1.0.0' },\n//    resolution: { directory: 'example-package', type: 'directory' }\n//    resolvedVia: 'local-filesystem' }\n```\n\n## License\n\nMIT\n","publish_time":1520069721107,"_cnpm_publish_time":1520069721107,"dist-tags":{"dev":"0.0.0-20230605-20230605142810","latest":"1002.1.13","latest-10":"1002.1.15","latest-6":"7.0.9","next":"5.0.4","pnpm-temp":"5.0.13"}}