You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mahdi
0cb8d673d7
|
2 years ago | |
---|---|---|
.. | ||
lib | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
index.js | 2 years ago | |
package.json | 2 years ago |
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):
- Returns minipass streams instead of node-core streams.
- Supports the full set of TLS Options that may be provided to
https.request()
when makinghttps
requests.