← unjs/ofetch
CodeVetter · Repo Unpack · Data flow

unjs/ofetch

Scanned commit 1dbc37fd1c dated 2026-07-08 — last upstream commit. Generated by codevetter codevetter 1.15.0 on 2026-10-02. Deep analysis by cli:codex via the codex CLI on 2026-10-02 (235s). Source inspection; upstream code and tests were not executed.

Inputs enter as FetchRequest and FetchOptions, then become a mutable FetchContext. Resolution merges shared defaults with call-specific headers and query values before hooks and normalization. Fetch produces a Response whose body becomes _data, which hooks can inspect before return or rejection. Retries carry transformed context back through the same pipeline.