create-fetch

JSON →
library 3.3.1 ·javascript
verified Jun 7, 2026

A lightweight (1.4KB gzip) utility library for composing custom fetch wrappers with reusable middleware. Current stable version is 3.3.1, released regularly with a focus on TypeScript support and ESM compatibility. Differentiates from other fetch wrappers by providing a simple compose-based API (composeFetch) or pipeline pattern, alongside built-in middleware for default options, base URL injection, headers, query string serialization, JSON body serialization, and XSRF token handling. Supports both CommonJS and ESM, and ships TypeScript definitions.