zlFetch

JSON →
library 6.3.1 ·javascript
verified Jun 7, 2026

zlFetch is an ESM-only wrapper around the native Fetch API providing convenience features like automatic JSON/text/blob parsing, promise-like error handling (400/500 errors go to catch), built-in request abort, automatic Content-Type and Authorization headers, query string helpers, shorthand methods (GET, POST, PUT, PATCH, DELETE), streaming support (SSE, chunked), and instance creation for reusable config. Current stable version 6.3.1 (2023). Released as needed. Differentiators: error handling without try/catch, built-in debug logging, and full response object access without manual .json()/.text(). ESM-only since v4; no CommonJS support.