{"name":"@pnpm/fetcher-base","version":"900.0.0","keywords":["pnpm9","pnpm","fetcher"],"license":"MIT","_id":"@pnpm/fetcher-base@900.0.0","homepage":"https://github.com/pnpm/pnpm/blob/main/fetching/fetcher-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"30a531d9bdc170ae02657105ce120dc02cda35b3","tarball":"http://registry-npm.ywwl.com/@pnpm/fetcher-base/download/@pnpm/fetcher-base-900.0.0.tgz","fileCount":6,"integrity":"sha512-PPa9zFiZZCe66iTg0kcUHESTLyWCamAxfNhK9gtCjeNrbP2GD8ffHtinpolhIJN++PjbKgK1zcIVznhNVACAJA==","signatures":[{"sig":"MEYCIQDp7jyPCZ6yj8YsFLUdFHcmRQu0QET13xxG3Yn/jlutdwIhALrQYSmIckncURvvbuflgliWT289BQcB1BiIj6E6gGWE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5488,"size":2379,"noattachment":false,"key":"/@pnpm/fetcher-base/-/@pnpm/fetcher-base-900.0.0.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","_from":"file:pnpm-fetcher-base-900.0.0.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","start":"tsc --watch","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/a5cd843bf9e8b18cc1acc99403128cca/pnpm-fetcher-base-900.0.0.tgz","_integrity":"sha512-PPa9zFiZZCe66iTg0kcUHESTLyWCamAxfNhK9gtCjeNrbP2GD8ffHtinpolhIJN++PjbKgK1zcIVznhNVACAJA==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/fetching/fetcher-base","type":"git"},"_npmVersion":"10.8.2","description":"Types for pnpm-compatible fetchers","directories":{},"_nodeVersion":"18.20.5","dependencies":{"@pnpm/types":"900.0.0","@types/ssri":"^7.1.5","@pnpm/resolver-base":"900.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/cafs-types":"900.0.0","@pnpm/fetcher-base":"900.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fetcher-base_900.0.0_1732808743461_0.23021531391082029","host":"s3://npm-registry-packages"},"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":1732808743643,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1732808743643,"dist-tags":{"latest":"1001.2.2","latest-10":"1001.2.4","latest-6":"11.2.1","pnpm-temp":"8.0.2"}}