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

x/eszip/loader.ts>LoadResponseModule

A compact file format to losslessly serialize an ECMAScript module graph into a single file
Go to Latest
interface LoadResponseModule
import { type LoadResponseModule } from "https://deno.land/x/eszip@v0.32.0/loader.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.