{"library":"ws-reconnect","type":"library","category":null,"description":"ws-reconnect is a lightweight Node.js WebSocket client with automatic reconnection logic. Version 1.0.7 is the current stable release, but the package has not been updated since 2019. It provides event-driven reconnection with configurable retry count and reconnect interval. Unlike more modern alternatives (e.g., reconnecting-websocket), this package is minimal, untyped, and does not support browser environments or the standard WebSocket API. It depends on the 'ws' library. Note: The constructor is named WSCLIENT (not WSCLINET as in the README example).","language":"javascript","status":"maintenance","version":"1.0.7","tags":["javascript","ws","websocket","reconnect","ws client"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ws-reconnect","imports":["const WSCLIENT = require('ws-reconnect');","import WSCLIENT = require('ws-reconnect');","const WebSocket = require('ws');"]},{"cmd":"yarn add ws-reconnect","imports":[]},{"cmd":"pnpm add ws-reconnect","imports":[]}],"homepage":"https://github.com/ofirattia/ws-reconnect#readme","github":"https://github.com/ofirattia/ws-reconnect","docs":null,"changelog":null,"pypi":null,"npm":"ws-reconnect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}