{"name":"@pnpm/local-resolver","version":"0.1.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.1.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":"c7dd9e13902c94816caebff357b0568ef4bc111e","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-0.1.2.tgz","fileCount":9,"integrity":"sha512-cFIDQfhu64oc1Sw8X8kIaWZV2bIMNvgRKGLhb6WqssqBB0pyfOWFini5AvPhWC/FSd6gApNp+m7BX9rVwU1KLA==","signatures":[{"sig":"MEUCIHZL2j7dEnI5GHlBZD64BcmuUTqQEePur467OBCOQru+AiEA8oreA0s2r2UgnmFXAlcD7YpOY8cMIXw89+F1VOjI1no=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11968,"size":4510,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-0.1.2.tgz"},"main":"lib/index.js","files":["lib"],"engines":{"node":">=4"},"gitHead":"15d2969a8e5180be5141a321e252134eae925e38","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.6.0","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.1.2_1519678927503_0.07779678639658028","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":1519678927556,"_cnpm_publish_time":1519678927556,"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"}}