---
title: "klav-wasm"
description: "Klav core compiled to WebAssembly for the browser extension"
canonical: "https://klav.everdoc.dev/main/architecture/klav-wasm"
channel: "main"
---

# klav-wasm

> OmarAlex24/klav · channel `main` · main @ [`fe8e2a0c8c24`](https://github.com/OmarAlex24/klav/tree/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92) · 2026-12-05 · generated by Everdoc from source (no LLM).

Klav core compiled to WebAssembly for the browser extension

| Property | Value |
| --- | --- |
| Path | `crates/klav-wasm` |
| Role | adapter |
| Runtimes | wasm |
| Version | 0.15.1 |
| Manifest | [crates/klav-wasm/Cargo.toml](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-wasm/Cargo.toml) |
| Entrypoints | [crates/klav-wasm/src/lib.rs](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-wasm/src/lib.rs) |

## Dependencies

- Workspaces: [klav-core](klav-core.md)
- Used by: none
- External (4): `getrandom`, `secrecy`, `serde_json`, `wasm-bindgen`

## Modules

| Module | Files |
| --- | --- |
| `src` | 1 |

## Defined here

- **RPCs** (7): [`klav_wasm.coreVersion`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-coreversion), [`klav_wasm.fillableHost`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-fillablehost), [`klav_wasm.generate`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-generate), [`klav_wasm.hostMatches`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-hostmatches), [`klav_wasm.hostRelation`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-hostrelation), [`klav_wasm.pageMatches`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-pagematches), [`klav_wasm.totpCheck`](../reference/rpc/klav_wasm.md#rpc-klav_wasm-totpcheck)

## Protocol edges

| From | Kind | To | Weight |
| --- | --- | --- | --- |
| @klav/extension | rpc | klav-wasm | 5 methods |
