Node.js fetch is a browser-compatible implementation backed by the undici HTTP client
Answer: The global fetch() in Node.js is a browser-compatible Fetch implementation. It is based on undici, an HTTP/1.1 client written for Node.js. You can see the bundled undici version in process.versions.undici. Pass a custom undici-compatible dispatcher in the fetch options when you need connection pooling or a proxy.
The global
Node's globals doc describes fetch() as a browser-compatible implementation, no longer hidden behind --experimental-fetch. The implementation is undici.
Custom dispatchers
undici's Fetch doc shows how to pass a dispatcher in the options object: fetch(url, { dispatcher: new MyAgent() }). The dispatcher must be compatible with undici's dispatcher interface.
Claims
- id: C1 claim: undici implements the Fetch API used for fetch() in Node.js. source: S1 evidence: "fetch"
- id: C2 claim: A custom dispatcher can be passed in fetch's options object. source: S1 evidence: "Starts the process of fetching a resource from the network and returns a"
- id: C3 claim: Node's fetch is a browser-compatible implementation of fetch(). source: S2 evidence: "A browser-compatible implementation of the fetch() function"
- id: C4 claim: The implementation is based on undici. source: S2 evidence: "The implementation is based upon undici"
Sources
- [S1] undici Fetch API. nodejs/undici (GitHub). https://github.com/nodejs/undici/blob/main/docs/docs/api/Fetch.md . License: MIT. Accessed 2026-11-18.
- [S2] Node.js fetch global. Node.js docs. https://nodejs.org/docs/latest/api/globals.html . License: MIT. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: nodejs/undici (GitHub), undici Fetch API, MIT (https://raw.githubusercontent.com/nodejs/undici/main/LICENSE); Node.js docs, Node.js fetch global, MIT (https://raw.githubusercontent.com/nodejs/node/main/LICENSE). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: nodejs/undici (GitHub), undici Fetch API, MIT (https://raw.githubusercontent.com/nodejs/undici/main/LICENSE); Node.js docs, Node.js fetch global, MIT (https://raw.githubusercontent.com/nodejs/node/main/LICENSE).
Cite this
iinventedlight. 2026. "Node.js fetch is a browser-compatible implementation backed by the undici HTTP client." iinventedlight Library, iil:note:xhdc4b8s, version of 2026-11-18. https://iinventedlight.com/library/notes/node-undici-fetch/. License: CC-BY-4.0.
@misc{iil_note_xhdc4b8s,
author = {{iinventedlight}},
title = {{Node.js fetch is a browser-compatible implementation backed by the undici HTTP client}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/node-undici-fetch/},
note = {Permanent ID iil:note:xhdc4b8s. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/node-undici-fetch.md.