{"name":"@pnpm/local-resolver","version":"10.0.7","keywords":["pnpm8","pnpm","resolver","npm"],"license":"MIT","_id":"@pnpm/local-resolver@10.0.7","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"04299ec17a66498e0742a6c3f44e514c13441252","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-10.0.7.tgz","fileCount":9,"integrity":"sha512-lNjEc/YoL0N58roxV4OyCXOsY8unyo0xkdYK1YlbCBm3Z/Fuo/HHFlVy5dW+JgGK/AoIeM82iVNQp/2R/2n7GA==","signatures":[{"sig":"MEUCIH9PtGkDHX7cRXJSMwJhuTY9DgR2xX+ggLTg5tmbQiAeAiEAnX2vLwrqNSSk/NwOQHScU0u5r8z3O1Xx07Bj4Vof/0Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16484,"size":5557,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-10.0.7.tgz"},"main":"lib/index.js","_from":"file:pnpm-local-resolver-10.0.7.tgz","types":"lib/index.d.ts","engines":{"node":">=16.14"},"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":"zkochan","email":"z@kochan.io"},"_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/54c5ae22e137309ff38c6680f7762732/pnpm-local-resolver-10.0.7.tgz","_integrity":"sha512-lNjEc/YoL0N58roxV4OyCXOsY8unyo0xkdYK1YlbCBm3Z/Fuo/HHFlVy5dW+JgGK/AoIeM82iVNQp/2R/2n7GA==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver","type":"git"},"_npmVersion":"9.6.7","description":"Resolver for local packages","directories":{},"_nodeVersion":"18.17.1","dependencies":{"ssri":"10.0.4","@pnpm/error":"5.0.2","@pnpm/types":"9.2.0","normalize-path":"^3.0.0","@pnpm/graceful-fs":"3.2.0","@pnpm/resolver-base":"10.0.2","@pnpm/read-project-manifest":"5.0.6"},"_hasShrinkwrap":false,"devDependencies":{"@types/ssri":"^7.1.1","@pnpm/local-resolver":"10.0.7","@types/normalize-path":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/local-resolver_10.0.7_1694597660431_0.3606168501233846","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":1694597660706,"_cnpm_publish_time":1694597660706,"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"}}