{"name":"@pnpm/fetching.fetcher-base","version":"1001.0.2","keywords":["pnpm","pnpm11","fetcher"],"license":"MIT","_id":"@pnpm/fetching.fetcher-base@1001.0.2","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/fetching/fetcher-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"6dc9edad8f64d87d38615e14ad40f94bad01ba44","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.fetcher-base/download/@pnpm/fetching.fetcher-base-1001.0.2.tgz","fileCount":5,"integrity":"sha512-bCzEf3mD1j+k0Ex3jLP/KVMNN9J3MZ1oX7sn34LpLKiwIY8hTz8XB//gWMrY9CjxPYQZ3HbXMvi3XVu0H0UqoQ==","signatures":[{"sig":"MEQCIDkyhtnLO1o9LjlyGK9Fe+0Eg2ZVviXELJCgLFtiPivKAiAOFdEMvW/v7IHv1som5dHJnRtJIqN0Pbfhza5PbJQvtQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.fetcher-base@1001.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5117,"size":2282,"noattachment":false,"key":"/@pnpm/fetching.fetcher-base/-/@pnpm/fetching.fetcher-base-1001.0.2.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","start":"tsgo --watch","compile":"tsgo --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":"https://github.com/pnpm/pnpm/tree/main/fetching/fetcher-base","description":"Types for pnpm-compatible fetchers","directories":{},"_nodeVersion":"25.6.1","dependencies":{"@pnpm/types":"1000.9.0","@types/ssri":"^7.1.5","@pnpm/resolving.resolver-base":"1005.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/store.cafs-types":"1000.0.0","@pnpm/fetching.fetcher-base":"1001.0.2"},"_npmOperationalInternal":{"tmp":"tmp/fetching.fetcher-base_1001.0.2_1773916020057_0.03321910564216091","host":"s3://npm-registry-packages-npm-production"},"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":1773916020200,"_cnpm_publish_time":1773916020200,"dist-tags":{"latest":"1100.2.14"}}