ResilientWebSocket
JSON →A tiny (~6 KB minified), dependency-free WebSocket client with exponential-backoff reconnect, heartbeats, outgoing queue, and pluggable transports. Version 0.2.0 is the latest stable release (no major updates yet). Supports browsers, Node.js (with the 'ws' package), Deno, Bun, and edge runtimes. Key differentiators: zero runtime dependencies, full TypeScript types, dynamic URL provider for token refresh, and a first-class state machine with both hooks and typed event emitter API. Ideal for production WebSocket connections requiring resilience and minimal bundle size.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇨🇦 Canada
Resources
packagetiny-resilient-websocket ↗