ts-ws-machine
JSON →A TypeScript WebSocket client modeled as a finite state machine (FSM) with built-in reconnect and heartbeat support. v1.0.2, stable, actively maintained. Key differentiators: FSM-based design provides predictable state transitions, customisable backoff strategies (exponential, linear, constant), and heartbeat/ping-pong timeout handling. Ships TypeScript definitions. Lightweight with no external dependencies.
Traffic · last 30 days ↑25% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 12d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇮🇩 Indonesia · 🇮🇹 Italy
Resources
packagets-ws-machine ↗