ws-heartbeat
JSON →Lightweight heartbeat/ping-pong library for WebSocket connections, compatible with both server-side (ws library) and browser-side WebSocket. Version 1.3.0 provides a simple API to detect dead connections and maintain active WebSocket sessions. Differentiates from manual ping/pong implementations by handling intervals, timeouts, and automatic cleanup. No native WebSocket ping frames required, works with any message format. Low dependency footprint.
Traffic · last 30 days stale · no recent hits
total hits 13
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
packagews-heartbeat ↗