onfetch is a lightweight library for mocking the browser/Node `fetch()` API using the native `Request` and `Response` objects. It lets developers define intercept rules (by URL string, RegExp, `URLPattern`, or custom matcher) that can reply with static data, delays, redirects, or callbacks, and works in various contexts—including `globalThis`, Service Workers, and @mswjs interceptors—making it useful for testing and development of web applications that rely on `fetch`.
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
Mock fetch() with native Request / Response API. Works with globalThis, service worker, @mswjs/interceptors, and custom contexts