Modern Browser SDK

Browser APIs.
Clean. Typed. SSR-Safe.

@browser/sdk provides minimal, composable wrappers around modern browser APIs like Clipboard, Share, Console, BroadcastChannel, and File System — built for real-world Next.js applications.

Included Modules

BroadcastChannel

Cross-tab communication with SSR-safe instantiation and graceful fallback.

Clipboard API

Safe wrapper around navigator.clipboard with SSR guards and feature detection.

Console SDK

Scoped logging, grouping, timestamps, performance timers, and table rendering.

IndexedDB

Typed IndexedDB wrapper with safe initialization, structured storage helpers, and promise-based access.

Web Share API

Trigger native mobile share sheets safely with built-in support checks.

Local/Session Storage

Typed wrapper around localStorage and sessionStorage with SSR guards and JSON serialization support.

Interactive Demos

Stop Writing window Guards

@browser/sdk centralizes browser feature detection and safety so you can focus on building features — not defensive checks.