
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
minipass-fetch
Advanced tools
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.
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.
See node-fetch
Differences from node-fetch (and, by extension, from the WhatWG Fetch
specification):
https.request()
when making https requests.node-fetch is a light-weight module that brings the Fetch API to Node.js. It is similar to minipass-fetch but does not focus on streaming data and may not be as minimal in size.
axios is a promise-based HTTP client for the browser and Node.js. It provides a more feature-rich API compared to minipass-fetch, including interceptors, automatic transforms for JSON data, and client-side protection against XSRF.
got is a human-friendly and powerful HTTP request library for Node.js. It offers advanced features like retries, streams, and convenient JSON handling, which can make it a more comprehensive alternative to minipass-fetch.
FAQs
An implementation of window.fetch in Node.js using Minipass streams
The npm package minipass-fetch receives a total of 20,594,086 weekly downloads. As such, minipass-fetch popularity was classified as popular.
We found that minipass-fetch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.