{"_id":"@pnpm/fetching.fetcher-base@1100.2.14","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"1acad600ce4e97c0880570bd05f6a223da675cd1","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.fetcher-base/download/@pnpm/fetching.fetcher-base-1100.2.14.tgz","fileCount":6,"integrity":"sha512-10ua5MgR+iYCQwtzFLwwFKNMYuDhotkSH+0e7HDfZ6j+ADUalc1EiY2m2nZuWm22zUu9sOKQRPXjAVnJI+cLxg==","signatures":[{"sig":"MEUCIAYklpYyBCmG0HEGD8/knql+avuB1cNnr+nvGAqF0qD6AiEApp4BSrEb8miyn3aJOCF8QdPt9JTMGMr8WErR34BOupU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWfHG94gEg8jL2OOAuIAnuETvjY8h3qObioOOHpxLu0gIhAM1XpT4xz8WB5GAKSQHAVyKYcdFJmU6o25FG/uEcpgo6"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.fetcher-base@1100.2.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26935,"size":7770,"noattachment":false,"key":"/@pnpm/fetching.fetcher-base/-/@pnpm/fetching.fetcher-base-1100.2.14.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","name":"@pnpm/fetching.fetcher-base","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"eslint \"src/**/*.ts\"","test":"pn compile","start":"tsgo --watch","compile":"tsgo --build && pn lint --fix"},"version":"1100.2.14","_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base#readme","keywords":["pnpm","pnpm11","fetcher"],"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base","type":"git"},"description":"Types for pnpm-compatible fetchers","directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"dependencies":{"@pnpm/types":"1102.1.3","@types/ssri":"^7.1.5","@pnpm/resolving.resolver-base":"1101.3.4"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/store.cafs-types":"1100.1.1","@pnpm/fetching.fetcher-base":"1100.2.14"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetching.fetcher-base_1100.2.14_1793060438802_0.27828413202440117"},"readme":"# @pnpm/fetching.fetcher-base\n\n> Types for pnpm-compatible fetchers\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/fetching.fetcher-base.svg)](https://npmx.dev/package/@pnpm/fetching.fetcher-base)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/fetching.fetcher-base\n```\n\n## Usage\n\nHere's a template for a fetcher using types from `@pnpm/fetching.fetcher-base`:\n\n```ts\nimport { Resolution } from '@pnpm/resolver-base'\nimport {\n  FetchOptions,\n  FetchResult,\n} from '@pnpm/fetching.fetcher-base'\n\nexport async function demoFetcher (\n  resolution: Resolution,\n  targetFolder: string,\n  opts: FetchOptions,\n): Promise<FetchResult> {\n  // ...\n  return {\n    filesIndex,\n    tempLocation,\n  }\n}\n```\n\n## License\n\nMIT\n","publish_time":1793060438888,"_cnpm_publish_time":1793060438888,"dist-tags":{"latest":"1100.2.14"}}