{"library":"reconnecting","type":"library","category":null,"description":"A WebSocket client that automatically reconnects when the connection is closed. Stable version 4.4.1, actively maintained. Provides a WebSocket API compatible interface with Level0 and Level2 event models. Key differentiators: dependency-free, multi-platform (Web, ServiceWorkers, Node.js, React Native), configurable reconnect behavior, connection timeout handling, buffering of messages during disconnection, and support for dynamic server URLs via string, function, or async function.","language":"javascript","status":"active","version":"4.4.1","tags":["javascript","websocket","client","reconnecting","reconnection","reconnect","forever","persistent","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install reconnecting","imports":["import ReconnectingWebSocket from 'reconnecting-websocket'","import type { Options } from 'reconnecting-websocket'","import type { UrlProvider } from 'reconnecting-websocket'"]},{"cmd":"yarn add reconnecting","imports":[]},{"cmd":"pnpm add reconnecting","imports":[]}],"homepage":"https://github.com/reedsy/reconnecting-websocket#readme","github":"https://github.com/reedsy/reconnecting-websocket","docs":null,"changelog":null,"pypi":null,"npm":"reconnecting","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}