Skip to main content
Module

x/simple_utility/mod.ts>fetchExtend

A handy utility collection.
Go to Latest
function fetchExtend
import { fetchExtend } from "https://deno.land/x/simple_utility@v0.0.4/mod.ts";

Type Parameters

T extends keyof FetchResponseType

Parameters

path: string

Since the query string is ignored, please specify it in the option.query property instead of writing it directly in the URL.

type: T

The type you want to receive in the response.

optional
option: FetchInit

window is removed from RequestInit and query is added to write the query string.