# @pnpm/fetching.fetcher-base

> Types for pnpm-compatible fetchers

Latest version **1100.2.12** (published 2026-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/fetching.fetcher-base
pnpm add @pnpm/fetching.fetcher-base
yarn add @pnpm/fetching.fetcher-base
bun add @pnpm/fetching.fetcher-base
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1100.2.12 |
| Published | 2026-09-28 |
| First published | 2026-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 3 |
| Unpacked size | 26.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36822 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm11, fetcher |

## Links

- npm: https://www.npmjs.com/package/@pnpm/fetching.fetcher-base
- Repository: https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base
- Homepage: https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/fetcher-base#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/fetching.fetcher-base

## Dependencies (3)

- [@pnpm/types](https://npm.io/package/@pnpm/types.md) 1102.1.1
- [@types/ssri](https://npm.io/package/@types/ssri.md) ^7.1.5
- [@pnpm/resolving.resolver-base](https://npm.io/package/@pnpm/resolving.resolver-base.md) 1101.3.2

## Recent versions

- 1100.2.12 (latest) — 2026-09-28
- 1100.2.11 — 2026-09-25
- 1100.2.10 — 2026-09-20
- 1100.2.9 — 2026-08-29
- 1100.2.8 — 2026-08-23
- 1100.2.7 — 2026-08-03
- 1100.2.6 — 2026-07-31
- 1100.2.5 — 2026-07-29
- 1100.2.4 — 2026-07-23
- 1100.2.3 — 2026-07-22
- 1100.2.2 — 2026-07-13
- 1100.2.1 — 2026-07-04
- 1100.2.0 — 2026-06-23
- 1100.1.9 — 2026-06-15
- 1100.1.8 — 2026-06-10
- … 12 more at https://npm.io/package/@pnpm/fetching.fetcher-base/versions

## README

# @pnpm/fetching.fetcher-base

> Types for pnpm-compatible fetchers

<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/@pnpm/fetching.fetcher-base.svg)](https://npmx.dev/package/@pnpm/fetching.fetcher-base)
<!--/@-->

## Installation

```sh
pnpm add @pnpm/fetching.fetcher-base
```

## Usage

Here's a template for a fetcher using types from `@pnpm/fetching.fetcher-base`:

```ts
import { Resolution } from '@pnpm/resolver-base'
import {
  FetchOptions,
  FetchResult,
} from '@pnpm/fetching.fetcher-base'

export async function demoFetcher (
  resolution: Resolution,
  targetFolder: string,
  opts: FetchOptions,
): Promise<FetchResult> {
  // ...
  return {
    filesIndex,
    tempLocation,
  }
}
```

## License

MIT

---
_Source: https://npm.io/package/@pnpm/fetching.fetcher-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
