hexo/node_modules/minipass-fetch
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
lib 20231003 update 2023-10-03 11:14:36 +08:00
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +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):