Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/eszip@v0.72.2/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.