Skip to Content
v0.8.0 · shippedNative iOS / Android / Flutter / Capacitor SDKs, A2A discovery, SOC 2 readiness, residency, BYO storage, BYOK. Read the changelog →
SDK reference@mushi-mushi/web

@mushi-mushi/web

Browser SDK with session-replay-style breadcrumbs, console / network / click capture, on-device pre-classifier (via @mushi-mushi/wasm-classifier), and the Shake-to-Report widget rendered in a Shadow DOM (so your CSS never leaks in or out).

Migrating from another bug-capture tool? We have step-by-step guides for Instabug / Luciq, Shake, LogRocket Feedback, BugHerd, and Pendo Feedback. Each maps the competitor’s API to the Mushi equivalent and includes an interactive checklist.

See Quickstart → Vanilla JS for setup. Notable extras:

  • onProactiveTrigger(({ context }) => …) — fires when the SDK detects user friction (rage clicks, repeated navigation, console errors during the same interaction). Use it to surface the report widget contextually.
  • onBeforeSubmit((report) => report | null) — last-mile transform. Return null to drop the report client-side.
  • pii — built-in scrubber masks emails, phones, SSNs, credit-card-shaped strings, and JWTs by default. Add custom regex via pii.customPatterns.
Last updated on