Load and initialize the WebAssembly module (async).
WASM will auto-initialize on first use if not preloaded. This function is useful for:
Backward compatible: This function works the same as the previous loadWASM().
loadWASM()
Optional
Optional custom initialization input
import { loadWASM } from 'web-csv-toolbox';// Optional preloadawait loadWASM();// Now WASM functions are ready (but they auto-initialize anyway) Copy
import { loadWASM } from 'web-csv-toolbox';// Optional preloadawait 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 useconst result = parseStringToArraySyncWASM(csv); Copy
import { parseStringToArraySyncWASM } from 'web-csv-toolbox';// WASM auto-initializes on first useconst result = parseStringToArraySyncWASM(csv);
Load and initialize the WebAssembly module (async).
WASM will auto-initialize on first use if not preloaded. This function is useful for:
Backward compatible: This function works the same as the previous
loadWASM().