{"name":"@pnpm/local-resolver","version":"12.0.4","description":"Resolver for local packages","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver"},"keywords":["pnpm9","pnpm","resolver","npm"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver#readme","dependencies":{"normalize-path":"^3.0.0","ssri":"10.0.5","@pnpm/error":"6.0.1","@pnpm/graceful-fs":"4.0.0","@pnpm/read-project-manifest":"6.0.4","@pnpm/types":"11.0.0","@pnpm/resolver-base":"13.0.0"},"devDependencies":{"@types/normalize-path":"^3.0.2","@types/ssri":"^7.1.5","@pnpm/local-resolver":"12.0.4"},"peerDependencies":{"@pnpm/logger":"^5.0.0"},"funding":"https://opencollective.com/pnpm","exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","_test":"jest","test":"pnpm run compile && pnpm run _test","fix":"tslint -c tslint.json src/**/*.ts test/**/*.ts --fix","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/local-resolver@12.0.4","_integrity":"sha512-yc1zVvFMOpG30tNy6omYm5klCO69uObI+qm1kRgyFiKhUwEJq6RhktY+b6Qt2G/4nNOqZosi1QgqYXWb+G06QA==","_resolved":"/tmp/a780533d737ad5e200f82159934587d2/pnpm-local-resolver-12.0.4.tgz","_from":"file:pnpm-local-resolver-12.0.4.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-yc1zVvFMOpG30tNy6omYm5klCO69uObI+qm1kRgyFiKhUwEJq6RhktY+b6Qt2G/4nNOqZosi1QgqYXWb+G06QA==","shasum":"987dcfbe1bba72e0a00ca56886c5ec38a6cd1c18","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-12.0.4.tgz","fileCount":9,"unpackedSize":17182,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDH0aTJr1IwKuXBjuACMe4IEA+TMU7OXjtG9Uc1Zly69AiEA52DWYVhkUt/apMH+QzSoc0b5zyhZiXEbVBXHjtL/K5Y="}],"size":5677,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-12.0.4.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-resolver_12.0.4_1720102040649_0.46596782493644096"},"_hasShrinkwrap":false,"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":1720102040782,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1720102040782,"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"}}