{"library":"robust-websocket","type":"library","category":null,"description":"A robust, reconnecting WebSocket client for the browser that wraps the standard WebSocket class with the same interface but adds automatic reconnection. It is error-code aware (avoids reconnecting on 1008/1011 by default) and respects browser online/offline events to prevent unnecessary reconnection attempts. Version 1.0.0 is stable; well-tested with cross-browser coverage. Key differentiators vs alternatives: includes test suite, offline awareness, and functional composition for custom reconnect strategies.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","websocket","browser","client","websocket-client","reconnecting","retrying"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install robust-websocket","imports":["import RobustWebSocket from 'robust-websocket'","const RobustWebSocket = require('robust-websocket')","const RobustWebSocket = require('robust-websocket')"]},{"cmd":"yarn add robust-websocket","imports":[]},{"cmd":"pnpm add robust-websocket","imports":[]}],"homepage":"https://github.com/nathanboktae/robust-websocket#readme","github":"https://github.com/nathanboktae/robust-websocket","docs":null,"changelog":null,"pypi":null,"npm":"robust-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}