Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.deno.unstable.d.ts>fetch

A modern runtime for JavaScript and TypeScript.
Go to Latest
function fetch
allow-net
allow-read
import { fetch } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.unstable.d.ts";

UNSTABLE: New API, yet to be vetted.

The Fetch API which also supports setting a Deno.HttpClient which provides a way to connect via proxies and use custom TLS certificates.

Parameters

input: Request | URL | string
optional
init: RequestInit & { client: Deno.HttpClient; }