A lightweight core set of fetch utilities optimized for Node.js environments, version 1.0.0. Provides a minimal, dependency-light implementation of the Fetch API spec tailored for server-side use, with support for streaming, timeouts, and custom agents. Differentiates from full-featured libraries like node-fetch by focusing on a lean core for building custom fetch wrappers.
npm install node-fetch-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to make a fetch request with timeout using AbortController.
Use import() syntax or set "type": "module" in your package.json.
Install 'abort-controller' polyfill for Node.js <15 or upgrade Node.
Use response.buffer() or response.text() instead, or ensure Node.js >=18.
Switch to import() or set "type": "module" in package.json.
Install 'abort-controller' with npm install abort-controller and import it.
Use response.buffer() or response.text() for reading the response.
No dependency data recorded yet.