Skip to content
@fetch-kit

fetch-kit

Making fetch more powerful in production and more testable in development
ffetch chaos-fetch chaos-sw chaos-proxy chaos-proxy-go
GitHub stars GitHub stars GitHub stars GitHub stars GitHub stars

A toolkit of production-ready fetch utilities and testing tools for JavaScript/TypeScript developers.


The fetch-kit Ecosystem

Repo Description
ffetch Production-ready fetch wrapper with retries, backoff, and timeout handling.
chaos-fetch Chaos-testing integrated directly into a fetch wrapper, for seamless testing.
chaos-sw Service Worker for injecting network chaos into browser requests.
chaos-proxy Proxy-based chaos testing tool to simulate network failures and latency.
chaos-proxy-go Golang port of chaos-proxy.

HTTP Resilience Comparison

http-resilience is a cross-library correctness matrix that runs the same executable failure scenarios against popular fetch resilience libraries and records what actually happens.

This suite tests the libraries through some edge-case scenarios: retry recovery and exhaustion, cancellation during backoff, bulkhead queue aborts, hedging (all-branches-fail and timeouts), circuit breakers (half-open concurrency and retry accounting), request deduplication, POST body replay, Retry-After handling, total-timeout deadlines etc.

It documents the exact configuration, the expected response or error contract, any assertion failures, and a captured failure trace.

The results are published at https://fetchkit.org/http-resilience/


Try the Arena

See the fetch-kit ecosystem in action with the Fetch Reliability Arena: a live benchmark that runs fetch, axios, ky, and ffetch side-by-side under identical chaos conditions (latency, failures, rate limiting) and compares reliability scores, error rates, and latency in real time. The chaos is provided by chaos-fetch under the hood.


Join the Community

Connect with other developers, ask questions, and stay updated on new releases in the Fetch-Kit Discord server:

Discord

All releases are automatically announced, and pinned messages in each channel help you get started quickly.


Connect with the Author

Created and maintained by Gabor Koos
GitHub | Twitter | LinkedIn

Pinned Loading

  1. ffetch ffetch Public

    TypeScript-first fetch wrapper with configurable timeouts, retries, and circuit-breaker baked in.

    TypeScript 244 2

  2. chaos-proxy chaos-proxy Public

    Proxy for injecting network chaos (latency, failures, drops, rate-limiting) into API requests.

    TypeScript 27

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…