fetch-run

JSON →
library 2.8.3 ·javascript
verified Jun 7, 2026

A lightweight middleware library for the Fetch API, version 2.8.3, released monthly with active maintenance. It provides a composable middleware pipeline for fetch requests and responses, similar to koa or express middleware. Key differentiators: minimal (1.2KB gzipped), zero dependencies, supports both browser and Node.js (undici-based fetch), and TypeScript-first with full type inference. Unlike heavier solutions like axios or ky, fetch-run focuses solely on middleware chaining without bundling a fetch polyfill.