# minipass-fetch

> An implementation of window.fetch in Node.js using Minipass streams

Latest version **6.0.0** (published 2026-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install minipass-fetch
pnpm add minipass-fetch
yarn add minipass-fetch
bun add minipass-fetch
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-05-08 |
| First published | 2019-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^22.22.2 \|\| ^24.15.0 \|\| >=26.0.0 |
| Dependencies | 3 |
| Unpacked size | 46.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 61 |
| Author | GitHub Inc. |
| Maintainers | saquibkhan, npm-cli-ops, reggi, owlstronaut |
| Keywords | fetch, minipass, node-fetch, window.fetch |

## Links

- npm: https://www.npmjs.com/package/minipass-fetch
- Repository: https://github.com/npm/minipass-fetch
- Homepage: https://github.com/npm/minipass-fetch#readme
- Issues: https://github.com/npm/minipass-fetch/issues
- npm.io page: https://npm.io/package/minipass-fetch

## Dependencies (3)

- [minipass](https://npm.io/package/minipass.md) ^7.0.3
- [minizlib](https://npm.io/package/minizlib.md) ^3.0.1
- [minipass-sized](https://npm.io/package/minipass-sized.md) ^2.0.0

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 6.0.0 (latest) — 2026-05-08
- 5.0.2 — 2026-02-23
- 5.0.1 — 2026-02-02
- 5.0.0 — 2025-10-22
- 4.0.1 — 2025-02-26
- 4.0.0 — 2024-09-05
- 3.0.5 — 2024-05-04
- 3.0.4 — 2023-08-14
- 3.0.3 — 2023-04-26
- 3.0.2 — 2023-04-13
- 3.0.1 — 2022-12-07
- 3.0.0 — 2022-10-14
- 2.1.2 — 2022-08-22
- 2.1.1 — 2022-08-17
- 2.1.0 — 2022-03-24
- … 19 more at https://npm.io/package/minipass-fetch/versions

## README

# minipass-fetch

An implementation of window.fetch in Node.js using Minipass streams

This is a fork (or more precisely, a reimplementation) of
[node-fetch](http://npm.im/node-fetch).  All streams have been replaced
with [minipass streams](http://npm.im/minipass).

The goal of this module is to stay in sync with the API presented by
`node-fetch`, with the exception of the streaming interface provided.

## Why

Minipass streams are faster and more deterministic in their timing contract
than node-core streams, making them a better fit for many server-side use
cases.

## API

See [node-fetch](http://npm.im/node-fetch)

Differences from `node-fetch` (and, by extension, from the WhatWG Fetch
specification):

- Returns [minipass](http://npm.im/minipass) streams instead of node-core
  streams.
- Supports the full set of [TLS Options that may be provided to
  `https.request()`](https://nodejs.org/api/https.html#https_https_request_options_callback)
  when making `https` requests.

---
_Source: https://npm.io/package/minipass-fetch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
