{"name":"@pnpm/local-resolver","version":"1000.0.1","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":["pnpm10","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":"1000.0.1","@pnpm/graceful-fs":"1000.0.0","@pnpm/resolver-base":"1000.1.0","@pnpm/types":"1000.0.0","@pnpm/read-project-manifest":"1000.0.1"},"devDependencies":{"@types/normalize-path":"^3.0.2","@types/ssri":"^7.1.5","@pnpm/local-resolver":"1000.0.1","@pnpm/logger":"1000.0.0"},"peerDependencies":{"@pnpm/logger":">=5.1.0 <1001.0.0"},"funding":"https://opencollective.com/pnpm","exports":{".":"./lib/index.js"},"jest":{"preset":"@pnpm/jest-config"},"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@1000.0.1","_integrity":"sha512-mrZmwVfBwzcVbp43z8SIlb2yIodAI4JnxO3SZ/aQU8s/G/+7QxImr8+mSnoyTQJh+pw18ZxIehS9c57+PtmLuw==","_resolved":"/tmp/4358601fde3ecd7c4ea26ce564188016/pnpm-local-resolver-1000.0.1.tgz","_from":"file:pnpm-local-resolver-1000.0.1.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-mrZmwVfBwzcVbp43z8SIlb2yIodAI4JnxO3SZ/aQU8s/G/+7QxImr8+mSnoyTQJh+pw18ZxIehS9c57+PtmLuw==","shasum":"9ca28372fcd57853c69168a54264f28355e65b5c","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-1000.0.1.tgz","fileCount":9,"unpackedSize":17231,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkm9bVR9/CMYcyIncP0bkGznBO32mrFM6godCYWyxQ9wIgIbbwQRJhyQP3TyfsFcVKMRKQn5iqVUs+pIVu/Twf6CQ="}],"size":5759,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-1000.0.1.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/local-resolver_1000.0.1_1734314555266_0.6948715057299848"},"_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":1734314555429,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1734314555429,"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"}}