Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_graph/types.d.ts>LoadResponseModule

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

The string value of the loaded resources.