Skip to main content
Latest
interface LoadResponseModule
import { type LoadResponseModule } from "https://deno.land/x/deno_cache@0.7.1/mod.ts";

Properties

kind: "module"

A module with code has been loaded.

specifier: string

The string URL of the resource. If there were redirects, the final specifier should be set here, otherwise the requested specifier.

optional
headers: Record<string, string>

For remote resources, a record of headers should be set, where the key's have been normalized to be lower case values.

content: string | Uint8Array

The string value of the loaded resources.