{"name":"@pnpm/fetching.fetcher-base","version":"1100.2.7","keywords":["pnpm","pnpm11","fetcher"],"license":"MIT","_id":"@pnpm/fetching.fetcher-base@1100.2.7","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"bd72ddf8bb3ea4201374b22ad274d489971bc80d","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.fetcher-base/download/@pnpm/fetching.fetcher-base-1100.2.7.tgz","fileCount":6,"integrity":"sha512-piCdM7JfJ/CcaiSza3ge3fkOda1sV5q4PYwKpPVIKS/415CfwyGbqN2738NjHCQ6Nx5oiNPSDZIJ2ZTRZFG27Q==","signatures":[{"sig":"MEUCIQDBNUtOTufsS82wtGwPHdoCUAHa8wES/quzpoA5RzMm6QIgOnMMFsGU/HZAWP2sMQWLYaHt6GoKnfWESNfkFaqPyCE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.fetcher-base@1100.2.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24041,"size":6977,"noattachment":false,"key":"/@pnpm/fetching.fetcher-base/-/@pnpm/fetching.fetcher-base-1100.2.7.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":"pn compile","start":"tsgo --watch","compile":"tsgo --build && pn lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base","type":"git"},"description":"Types for pnpm-compatible fetchers","directories":{},"dependencies":{"@pnpm/types":"1101.9.0","@types/ssri":"^7.1.5","@pnpm/resolving.resolver-base":"1101.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/store.cafs-types":"1100.0.2","@pnpm/fetching.fetcher-base":"1100.2.7"},"_npmOperationalInternal":{"tmp":"tmp/fetching.fetcher-base_1100.2.7_1785765866198_0.3370236715884094","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":1785765866353,"_cnpm_publish_time":1785765866353,"dist-tags":{"latest":"1100.2.14"}}