Reliable WebSocket

JSON →
library 0.1.0 ·javascript
verified Jun 7, 2026

A lightweight TypeScript-first WebSocket wrapper that provides automatic reconnection with exponential backoff and persistent offline message buffering via IndexedDB. Current stable version is 0.1.0, released as an early-stage package with limited API surface. Key differentiators include built-in offline support for medical and field applications, TypeScript type definitions bundled, and support for multiple message types (string, ArrayBuffer, Uint8Array, Blob). Unlike alternatives like reconnecting-websocket, this library persists messages in IndexedDB for later delivery when offline.