WebAssembly
Tombi's WebAssembly support is published as two npm packages. They are separated so an application only downloads the runtime it needs:
| Package | Contents |
|---|---|
tombi-wasm-lib | Formatter and linter |
tombi-wasm-lsp | Language Server |
Install only the package required by your application:
pnpm add tombi-wasm-lib
pnpm add tombi-wasm-lspThe two packages are built from the shared tombi-wasm Rust crate. The lib and
lsp features produce independent WASM artifacts.