SDK JS
    Preparing search index...

    Interface WasmHostInit

    How a LercDecoder locates and loads the vendored turbolerc wasm.

    Both fields are optional; omit them in a bundler to fetch the sibling .wasm automatically. The full cross-decoder resolution precedence (wasmByteswasmUrlconfigure({ wasmBaseUrl }) › build default) is documented once on core's BitruviusConfig.

    interface WasmHostInit {
        wasmBytes?: BufferSource;
        wasmUrl?: string | URL;
    }
    Index

    Properties

    Properties

    wasmBytes?: BufferSource

    Explicit wasm bytes (Node/Bun). Takes precedence over WasmHostInit.wasmUrl.

    wasmUrl?: string | URL

    Explicit wasm URL (Node/Bun, or to override default asset resolution).