{"name":"@pnpm/local-resolver","version":"0.1.0","keywords":["pnpm","resolver","npm"],"author":{"url":"https://www.kochan.io/","name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","_id":"@pnpm/local-resolver@0.1.0","maintainers":[{"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":"0b4f31e89abe5d0b93ed4a9df66c4291216956e2","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-0.1.0.tgz","integrity":"sha512-CLtqpLDq06PLDMy8D1TJ+RW5gw7dXCcnN5wWkE29J5w8e025PKFKJEH8+dvr+zJCVTb2YHyk+Y+IwtOP6uMIIw==","signatures":[{"sig":"MEUCIQCM444M1ysBFxinIDHWDjPgaqq95jzFMsbbICFUclFacQIgXCac1iFnIsMBJrioweq4aABeRMHo39MTnpGQyA7dDVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":4317,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-0.1.0.tgz"},"main":"lib/index.js","files":["lib"],"engines":{"node":">=4"},"gitHead":"11969c09f2031b563e73212daef1f6d5168b7c28","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","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.5.1","description":"Resolver for local packages","directories":{},"_nodeVersion":"6.11.4","dependencies":{"osenv":"^0.1.4","@pnpm/types":"^1.1.0","@types/node":"^8.0.53","normalize-path":"^2.1.1","util.promisify":"^1.0.0","read-package-json":"^2.0.12"},"devDependencies":{"mos":"^2.0.0-alpha.3","tape":"^4.8.0","tslint":"^5.8.0","ts-node":"^3.3.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.1.0.tgz_1511857117500_0.08024887344799936","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":1511857118708,"_cnpm_publish_time":1511857118708,"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"}}