{"name":"@pnpm/local-resolver","version":"12.0.9","keywords":["pnpm9","pnpm","resolver","npm"],"license":"MIT","_id":"@pnpm/local-resolver@12.0.9","homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"e8137c2bce7359dcaa44a2b8fd13f930db92829e","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-12.0.9.tgz","fileCount":9,"integrity":"sha512-mmucbVeVRSpwy4grMmCEI5+fs6RsUFLiR3T6tG7ictj1nZKj0pyecht7p7wLZhzvmeme5gtk/XKP9+oy4MGZWg==","signatures":[{"sig":"MEQCIFGaDLjju5ObMUe+ZwZ2XPRTXBxqVSsYIA6B6av4l9NdAiAV8NWZWLexp/IAbl7ZXukzxzo7vJnR2q7aJTmWrdV7nA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17148,"size":5750,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-12.0.9.tgz"},"main":"lib/index.js","_from":"file:pnpm-local-resolver-12.0.9.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"fix":"tslint -c tslint.json src/**/*.ts test/**/*.ts --fix","lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/dc47c3c5fa5b32b4232167b3bbfcf3a4/pnpm-local-resolver-12.0.9.tgz","_integrity":"sha512-mmucbVeVRSpwy4grMmCEI5+fs6RsUFLiR3T6tG7ictj1nZKj0pyecht7p7wLZhzvmeme5gtk/XKP9+oy4MGZWg==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver","type":"git"},"_npmVersion":"10.8.2","description":"Resolver for local packages","directories":{},"_nodeVersion":"20.17.0","dependencies":{"ssri":"10.0.5","@pnpm/error":"6.0.2","@pnpm/types":"12.2.0","normalize-path":"^3.0.0","@pnpm/graceful-fs":"4.0.0","@pnpm/resolver-base":"13.0.4","@pnpm/read-project-manifest":"6.0.9"},"_hasShrinkwrap":false,"devDependencies":{"@types/ssri":"^7.1.5","@pnpm/logger":"5.2.0","@pnpm/local-resolver":"12.0.9","@types/normalize-path":"^3.0.2"},"peerDependencies":{"@pnpm/logger":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/local-resolver_12.0.9_1727870366428_0.9585947861978272","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":1727870366619,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1727870366619,"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"}}