Skip to content

timonson/fetchs

Repository files navigation

fetchS

fetch something with types

Simplified fetch API

import { fetchS } from "https://deno.land/x/fetchs/mod.ts";

await fetchS("https://github.com", { bodyMethod: "text" });

Polyfill to fetch files with deno

import { fetchSPolyfill } from "https://deno.land/x/fetchs/mod.ts";

await fetchSPolyfill(import.meta.url, { bodyMethod: "blob" });