Skip to main content

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" })

Fetch polyfill for deno to fetch files, as well

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

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