{"library":"websocket-heartbeat-js","type":"library","category":null,"description":"WebSocket heartbeat and auto-reconnection library for browser JavaScript. Version 1.1.3 is the latest stable release, with infrequent updates. Automatically sends ping messages to detect connection status and reconnects on failure. Differentiates from native WebSocket by handling network outages and server errors that would otherwise go undetected, using a heartbeat mechanism with configurable intervals and reconnection attempts.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","zimv","websocket","heartbeat","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install websocket-heartbeat-js","imports":["import WebsocketHeartbeatJs from 'websocket-heartbeat-js'","<script src=\"./node_modules/websocket-heartbeat-js/dist/index.js\"></script>","import type { Options } from 'websocket-heartbeat-js'"]},{"cmd":"yarn add websocket-heartbeat-js","imports":[]},{"cmd":"pnpm add websocket-heartbeat-js","imports":[]}],"homepage":"https://github.com/zimv/websocket-heartbeat-js#readme","github":"https://github.com/zimv/websocket-heartbeat-js","docs":null,"changelog":null,"pypi":null,"npm":"websocket-heartbeat-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}