← All notes

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

Sources

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

Permanent ID: iil:note:xhdc4b8s

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.},
}

Markdown

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.