{"name":"@pnpm/fetcher-base","version":"1000.0.1","description":"Types for pnpm-compatible fetchers","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/fetching/fetcher-base"},"keywords":["pnpm10","pnpm","fetcher"],"engines":{"node":">=18.12"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/fetching/fetcher-base#readme","dependencies":{"@types/ssri":"^7.1.5","@pnpm/resolver-base":"1000.1.0","@pnpm/types":"1000.0.0"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/cafs-types":"1000.0.0","@pnpm/fetcher-base":"1000.0.1"},"exports":{".":"./lib/index.js"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"start":"tsc --watch","lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/fetcher-base@1000.0.1","_integrity":"sha512-8sv14IyXE+fgtL2BHDWXHAKplEtiBYjwfSsnGk57SI6+B5F2jhGmr9/rB0v5hUx9YOygKe8eNr/quxKTEsWAbQ==","_resolved":"/tmp/f9e3eae807330ba951e62838eb01a901/pnpm-fetcher-base-1000.0.1.tgz","_from":"file:pnpm-fetcher-base-1000.0.1.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-8sv14IyXE+fgtL2BHDWXHAKplEtiBYjwfSsnGk57SI6+B5F2jhGmr9/rB0v5hUx9YOygKe8eNr/quxKTEsWAbQ==","shasum":"4214461033f2d40cd84a78b5506faba10c01f7af","tarball":"http://registry-npm.ywwl.com/@pnpm/fetcher-base/download/@pnpm/fetcher-base-1000.0.1.tgz","fileCount":6,"unpackedSize":5494,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7nQeg8UQLtauCd2kXiWSrErJVBzAIIOhdi9FafKEc+AiBsX6khItPZE5IeHwE0RH9BCDLd4Gr9M8zKc08Ob50Smw=="}],"size":2383,"noattachment":false,"key":"/@pnpm/fetcher-base/-/@pnpm/fetcher-base-1000.0.1.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetcher-base_1000.0.1_1734314464872_0.9315929263171574"},"_hasShrinkwrap":false,"readme":"# @pnpm/fetcher-base\n\n> Types for pnpm-compatible fetchers\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/fetcher-base.svg)](https://www.npmjs.com/package/@pnpm/fetcher-base)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/fetcher-base\n```\n\n## Usage\n\nHere's a template for a fetcher using types from `@pnpm/fetcher-base`:\n\n```ts\nimport { Resolution } from '@pnpm/resolver-base'\nimport {\n  FetchOptions,\n  FetchResult,\n} from '@pnpm/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":1734314465035,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1734314465035,"dist-tags":{"latest":"1001.2.2","latest-10":"1001.2.4","latest-6":"11.2.1","pnpm-temp":"8.0.2"}}