web-csv-toolbox - v0.14.0
    Preparing search index...

    Function loadWASM

    • Load and initialize the WebAssembly module (async).

      WASM will auto-initialize on first use if not preloaded. This function is useful for:

      • Warming up the WASM module before first use
      • Custom initialization input (advanced use case)

      Backward compatible: This function works the same as the previous loadWASM().

      Parameters

      • Optionalinput: InitInput

        Optional custom initialization input

      Returns Promise<void>

      import { loadWASM } from 'web-csv-toolbox';

      // Optional preload
      await loadWASM();

      // Now WASM functions are ready (but they auto-initialize anyway)

      No preload needed - auto-initialization

      import { parseStringToArraySyncWASM } from 'web-csv-toolbox';

      // WASM auto-initializes on first use
      const result = parseStringToArraySyncWASM(csv);