Module

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

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

Options for instantiating a Wasm instance.

Properties

optional
url: URL

Optional url to the Wasm file to instantiate.

optional
decompress: (bytes: Uint8Array) => Uint8Array

Callback to decompress the raw Wasm file bytes before instantiating.