Forever WebSocket

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A reconnecting WebSocket client that is isomorphic (works in browser and Node.js). Version 1.0.1 provides a WebSocket API-compatible wrapper with automatic reconnection, configurable backoff strategies (Fibonacci, exponential), pings to keep connections alive, and timeouts for idle connections. Unlike similar libraries like reconnecting-websocket, it exposes all standard WebSocket properties and methods directly, making it a drop-in replacement. The package is stable with no recent releases, suitable for applications needing persistent WebSocket connections with minimal overhead.