Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fetch_goody/mod.ts>wrapFetch

a fetch wrapper that supports interceptors, JSON body, retry, timeout and many many more ...
Latest
function wrapFetch
import { wrapFetch } from "https://deno.land/x/fetch_goody@7.0.6/mod.ts";

Wraps the global fetch, or your own fetch if provided, and extends the init option with more functionality.

Returns

(input: string | Request | URL, init?: ExtendedRequestInit | RequestInit | undefined) => Promise<Response>