{"library":"altamoon-robust-websocket","type":"library","category":null,"description":"A robust, reconnecting WebSocket client for the browser that wraps the standard WebSocket API with automatic reconnection, online/offline awareness, and configurable reconnect strategies. Version 1.0.3 is the current stable release, last updated in 2020. It differentiates from alternatives like reconnecting-websocket by providing native error-code awareness (skipping reconnection on HTTP 400/500 equivalent codes), online/offline detection to avoid battery drain, and a functional composition approach for custom reconnect logic via the shouldReconnect callback. Includes TypeScript type definitions and supports a function-based URL for dynamic endpoint selection. No known security issues.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","websocket","browser","client","websocket-client","reconnecting","retrying","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install altamoon-robust-websocket","imports":["import RobustWebSocket from 'robust-websocket'","const RobustWebSocket = require('robust-websocket')","import type RobustWebSocket from 'robust-websocket'"]},{"cmd":"yarn add altamoon-robust-websocket","imports":[]},{"cmd":"pnpm add altamoon-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":"altamoon-robust-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}