Skip to main content

Crate tokmd_wasm

Crate tokmd_wasm 

Source
Expand description

wasm-bindgen bindings for tokmd.

This crate intentionally stays thin: it reuses tokmd_core::ffi::run_json plus the shared envelope helpers so the browser surface matches the other binding products instead of reimplementing parsing and validation.

Functionsยง

analysis_schema_version
Return the current analysis receipt schema version for runAnalyze.
run
Run a tokmd mode with a plain JavaScript object and return the extracted data payload.
run_analyze
Run the analyze workflow on in-memory inputs.
run_export
Run the export workflow on in-memory inputs.
run_json
Run a tokmd mode and return the raw JSON response envelope.
run_lang
Run the lang workflow on in-memory inputs.
run_module
Run the module workflow on in-memory inputs.
schema_version
Return the current core receipt schema version for lang, module, and export.
version
Return the tokmd package version.