Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_graph/lib/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.36.0/lib/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.