{"name":"@pnpm/local-resolver","version":"12.0.3","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/types":"10.1.1","@pnpm/read-project-manifest":"6.0.3","@pnpm/resolver-base":"12.0.2"},"devDependencies":{"@types/normalize-path":"^3.0.2","@types/ssri":"^7.1.5","@pnpm/local-resolver":"12.0.3"},"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.3","_integrity":"sha512-GoT0/i9cSYCTWexCnJHGjaCkHIJ7xZ7+OS0eQUlH4D4ul/1BgR7zxKckrBewpgoj5IX066LM66g86Fq64AKbWA==","_resolved":"/tmp/4b49c1b3b6bd80001941183fedc253ee/pnpm-local-resolver-12.0.3.tgz","_from":"file:pnpm-local-resolver-12.0.3.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-GoT0/i9cSYCTWexCnJHGjaCkHIJ7xZ7+OS0eQUlH4D4ul/1BgR7zxKckrBewpgoj5IX066LM66g86Fq64AKbWA==","shasum":"07d48b50477d0e1202f0121cc1edb9854e9a0bf2","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-12.0.3.tgz","fileCount":9,"unpackedSize":17182,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJGZz8OEZdGfAlAEOwZULMIE7FLhTNJw0SjKBYJ633ogIhAMH9T4UDYZBa0EVs9ZbQBgDh/TeBHbJxRoCOCgehPuVV"}],"size":5679,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-12.0.3.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-resolver_12.0.3_1718639679816_0.09783909593507167"},"_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":1718639679963,"_cnpm_publish_time":1718639679963,"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"}}