Skip to main content
Module

x/land/cache.ts>cache

Run Deno X module without installation.
Go to Latest
function cache
import { cache } from "https://deno.land/x/land@v0.9.3/cache.ts";

download and cache remote contents

Parameters

url: string

Returns

Promise<{ content: Uint8Array; contentType: string | null; }>