Skip to main content
Module

x/deno_graph/types.ts>LoadResponseModule

The module graph logic for Deno CLI
Latest
interface LoadResponseModule
import { type LoadResponseModule } from "https://deno.land/x/deno_graph@0.69.6/types.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.