A Node.js package that wraps the Fetch API to provide a Readable stream interface for response bodies, using the native fetch in browsers and node-fetch in Node.js. Current stable version is 3.1.0. Since version 3.0, it is ESM-only; version 2.x is available for CommonJS. It differs from standard fetch by patching the .body property to return a Node.js Readable stream.
npm install nodeify-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to fetch a URL and read the response body as a Node.js Readable stream using nodeify-fetch.
Use import instead of require, or stick with version 2.x.
Use Node.js stream methods like .on('data') and .pipe() instead of ReadableStream methods like .getReader().Check the node-fetch documentation for limitations.
Be prepared to switch to native fetch once Node.js stable fetch covers your needs.
Change to import syntax or downgrade to v2.x (npm install nodeify-fetch@2).
Use Node.js stream methods like on('data') or pipe() instead of ReadableStream API.Run: npm install node-fetch