English
Function: init()
init(
source?):Promise<InitOutput>
Defined in: src/index.ts:23
Initialize the bundled ssconverter WebAssembly module. Call once before convertProject.
The host supplies the wasm source: a URL/Response (browser fetch), a BufferSource of the wasm bytes (Node — read the file yourself), or a precompiled WebAssembly.Module. This core is environment-agnostic — it touches neither the filesystem nor the DOM.
Parameters
source?
InitInput | Promise<InitInput>
Returns
Promise<InitOutput>