Skip to main content
Module

x/dyr/mod.ts

Deno CLI for the weather
Go to Latest
File
export { Nominatim } from './src/nominatim.ts';export { Yr } from './src/yr.ts';
export async function _fetch(url: string | URL) { const result = await fetch(url, { method: 'GET', headers: { Accept: 'application/json', }, }) .then((response) => response.json()) .catch((error) => { console.log(error); });
return result;}