node-minipass/minipass-fetch
zhouganqing dca77e4a71 Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
..
.github Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
lib Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
test Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
.gitignore Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
LICENSE Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
README.md Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
index.js Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
map.js Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
package-lock.json Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00
package.json Import Upstream version 3.1.6+~cs8.7.18 2023-02-15 11:05:41 +08:00

README.md

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. All streams have been replaced with minipass streams.

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

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