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

x/deno/cli/js/fetch.ts>fetch

A modern runtime for JavaScript and TypeScript.
Go to Latest
function fetch
import { fetch } from "https://deno.land/x/deno@v0.28.0/cli/js/fetch.ts";

Fetch a resource from the network.

Parameters

input: domTypes.Request | URL | string
optional
init: domTypes.RequestInit