{"name":"@pnpm/fetching.fetcher-base","version":"1100.2.9","description":"Types for pnpm-compatible fetchers","keywords":["pnpm","pnpm11","fetcher"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"dependencies":{"@pnpm/resolving.resolver-base":"1101.2.0","@pnpm/types":"1102.1.0","@types/ssri":"^7.1.5"},"devDependencies":{"@pnpm/fetching.fetcher-base":"1100.2.9","@pnpm/store.cafs-types":"1100.1.0"},"engines":{"node":">=22.13"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"start":"tsgo --watch","lint":"eslint \"src/**/*.ts\"","test":"pn compile","compile":"tsgo --build && pn lint --fix"},"_id":"@pnpm/fetching.fetcher-base@1100.2.9","dist":{"integrity":"sha512-7F9NzEhfGWslB09gM0u7pBpEFKznrYQSUQRixSqTLxwd7NfT6ZeKTKWcaQydWuqZ9xcfMSYAVbRz36tlRa6Jpw==","shasum":"9f4b85d1af3284221acd98bace30ed2a4606335b","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.fetcher-base/download/@pnpm/fetching.fetcher-base-1100.2.9.tgz","fileCount":6,"unpackedSize":24578,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.fetcher-base@1100.2.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEZcClXk7TGO3CTcxzj/Q8kOJo1OE/BGjAWHSxe9aqBEAiEA0BEo6XQychQJbEO6GffL+AYs8C2PXYHsr70G7FOJsM4="}],"size":7101,"noattachment":false,"key":"/@pnpm/fetching.fetcher-base/-/@pnpm/fetching.fetcher-base-1100.2.9.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetching.fetcher-base_1100.2.9_1788012269554_0.3685329781418796"},"_hasShrinkwrap":false,"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":1788012269684,"_cnpm_publish_time":1788012269684,"dist-tags":{"latest":"1100.2.14"}}