WebAssembly

Tombi's WebAssembly support is published as two npm packages. They are separated so an application only downloads the runtime it needs:

PackageContents
tombi-wasm-libFormatter and linter
tombi-wasm-lspLanguage Server

Install only the package required by your application:

pnpm add tombi-wasm-lib
pnpm add tombi-wasm-lsp

The two packages are built from the shared tombi-wasm Rust crate. The lib and lsp features produce independent WASM artifacts.

Try the WASM Playground