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

x/dyr/src/util.ts>_fetch

Access Yr's weather API and Nominatim's API with Deno
Latest
function _fetch
import { _fetch } from "https://deno.land/x/dyr@v2.1.0/src/util.ts";

Shared fetch-function for simple GET-requests.

Parameters

url: string | URL

The URL to send GET-request to

Returns

Promise<T>

Result from GET-request.