di-fetch

JSON →
library 0.1.4 ·javascript
verified Jun 7, 2026

A lightweight, dependency-injected HTTP client for Node.js and browser with built-in plugins for serialization, mocking, and interceptors. Current stable version is 0.1.4, released on npm. It ships TypeScript types and follows a fetch-like API with extensible engine. Key differentiator: plugin-based architecture via interceptor hooks (willFetch, didFetch) and support for custom HTTP clients like Taro. No external dependencies.