Skip to main content
Module

x/simple_utility/mod.pure.full.ts>fetchExtend

Simplify processing for Deno.
Go to Latest
function fetchExtend
import { fetchExtend } from "https://deno.land/x/simple_utility@v2.0.8/mod.pure.full.ts";

Extended fetch function that can specify response type directly.

Examples

Example 1

const response = await fetchExtend("./asset", "byte");

Parameters

path: string
type: T
optional
option: FetchInit