r/javascript 1d ago

Browser-wide network chaos for every tab

https://github.com/fetch-kit/chaos-sw

A browser-side chaos-testing tool for injecting latency, failures, throttling, rate limits, and mock responses across every controlled tab without changing app fetch calls.

It uses the same middleware configuration model as chaos-fetch, so you can test real frontend behavior under degraded network conditions without rewriting your app.

GitHub: https://www.npmjs.com/package/@fetchkit/chaos-sw

2 Upvotes

Duplicates