Module

x/eszip/eszip_wasm.generated.d.ts>Parser

A compact file format to losslessly serialize an ECMAScript module graph into a single file
Go to Latest
class Parser
import { Parser } from "https://dotland.deno.dev/x/eszip@v0.68.1/eszip_wasm.generated.d.ts";

Constructors

new
Parser()

Methods

free(): void
getModuleSource(specifier: string): Promise<any>

Get a module source.

getModuleSourceMap(specifier: string): Promise<any>

Get a module sourcemap.

load(): Promise<any>

Load module sources.

parse(stream: ReadableStreamBYOBReader): Promise<any>

Parse from a BYOB readable stream.

parseBytes(buffer: Uint8Array): Promise<any>

Parse from an in-memory buffer.