Skip to main content
Module

x/eszip/loader.ts>Loader

A compact file format to losslessly serialize an ECMAScript module graph into a single file
Go to Latest
interface Loader
import { type Loader } from "https://deno.land/x/eszip@v0.64.0/loader.ts";

Methods

optional
cacheInfo(specifier: string): CacheInfo

A function that can be passed to a deno_graph building function to provide information about the cache to populate the output.

load(
specifier: string,
isDynamic?: boolean,
cacheSetting?: CacheSetting,
checksum?: string,
): Promise<LoadResponse | undefined>

A function that can be passed to a deno_graph that will load and cache dependencies in the graph in the disk cache.