fetch-extras
JSON →Composable utilities for the standard Fetch API, version 3.2.0. Provides lightweight, tree-shakeable middleware-style wrappers (withTimeout, withBaseUrl, withHeaders, withRetry, etc.) that decorate the native fetch function. No wrapper objects, no new interface—just pure function composition. Works in browsers, Node.js (>=22), Deno, Bun, Cloudflare Workers. Zero dependencies, full TypeScript generics, Standard Schema response validation. Designed for building minimal, focused HTTP clients without lock-in.
Resources
packagefetch-extras ↗