Function loadWASM

  • Load WASM module.

    This must be called before calling WebAssembly functions.

    Parameters

    • Optional input: InitInput | Promise<InitInput>

    Returns Promise<void>

    Example

    import { loadWASM, parseStringWASM } from "web-csv-toolbox";

    await loadWASM();

    const csv = "a,b,c\n1,2,3";
    const parsed = parseStringWASM(csv);