{"name":"@pnpm/local-resolver","version":"12.0.0","keywords":["pnpm9","pnpm","resolver","npm"],"license":"MIT","_id":"@pnpm/local-resolver@12.0.0","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":"ca77dd8dea52c66e11eb31a6155c5a024e15ba25","tarball":"http://registry-npm.ywwl.com/@pnpm/local-resolver/download/@pnpm/local-resolver-12.0.0.tgz","fileCount":9,"integrity":"sha512-35SY8KBC1EhWI5qHQB2CM3EBWuF7Yx3uZ6Us7YA0hxy/03Ztxz15wP22hJ6TXAlsCutaVNV7xZLT5M5X07vR9A==","signatures":[{"sig":"MEYCIQCuly/5GDn7fTdf/ifiMefy7nTIPWmMWWyGksDGJ1FqugIhAJ/83TlwOzO2bBSrlN7mmZhSHUFMDiNcSyqErX//Ubfu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17034,"size":5655,"noattachment":false,"key":"/@pnpm/local-resolver/-/@pnpm/local-resolver-12.0.0.tgz"},"main":"lib/index.js","_from":"file:pnpm-local-resolver-12.0.0.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":"zkochan","email":"z@kochan.io"},"_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/27d2d7c6df23ce3e1192954e444e92ea/pnpm-local-resolver-12.0.0.tgz","_integrity":"sha512-35SY8KBC1EhWI5qHQB2CM3EBWuF7Yx3uZ6Us7YA0hxy/03Ztxz15wP22hJ6TXAlsCutaVNV7xZLT5M5X07vR9A==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/resolving/local-resolver","type":"git"},"_npmVersion":"10.5.0","description":"Resolver for local packages","directories":{},"_nodeVersion":"20.11.1","dependencies":{"ssri":"10.0.5","@pnpm/error":"6.0.0","@pnpm/types":"10.0.0","normalize-path":"^3.0.0","@pnpm/graceful-fs":"4.0.0","@pnpm/resolver-base":"12.0.0","@pnpm/read-project-manifest":"6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/ssri":"^7.1.5","@pnpm/local-resolver":"12.0.0","@types/normalize-path":"^3.0.2"},"peerDependencies":{"@pnpm/logger":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/local-resolver_12.0.0_1712676751607_0.5011671977749694","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":1712676751758,"_cnpm_publish_time":1712676751758,"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"}}