Ducklings API Documentation
    Preparing search index...

    Interface InitOptions

    Options for initializing the DuckDB WASM module (workers build).

    interface InitOptions {
        wasmModule: Module;
    }
    Index

    Properties

    Properties

    wasmModule: Module

    Pre-compiled WebAssembly.Module (required for Cloudflare Workers) In Workers, import the WASM file directly and pass it here.

    import wasmModule from '@ducklings/workers/wasm';
    await init({ wasmModule });