Module

x/eszip/eszip_wasm.generated.js>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.72.1/eszip_wasm.generated.js";

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.