x/eszip@0.15.2/mod.ts

A compact file format to losslessly serialize an ECMAScript module graph into a single file
GitHub Stars
141
Go to latest
import { load, LoadResponse } from "./loader.ts";import { build as _build } from "./eszip_wasm.generated.js";
export { Parser } from "./eszip_wasm.generated.js";export type { LoadResponse } from "./loader.ts";
export function build( roots: string[], loader: (url: string) => Promise<LoadResponse | undefined> = load,): Promise<Uint8Array> { return _build(roots, loader);}