A WebSocket client with automatic reconnection, event emission, and logging. Version 1.1.3 appears to be the latest stable release (no recent updates). This library provides a reconnecting WebSocket with built-in event handling and logging, similar to libraries like reconnecting-websocket but with a simpler API. It is suitable for projects needing persistent WebSocket connections without managing reconnection logic manually.
npm install frozor-websocketNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a reconnecting WebSocket, listens for events, and sends a message.
Use import WebSocket from 'frozor-websocket' instead of import { WebSocket } from 'frozor-websocket'.Handle close events manually to ensure proper reconnection.
import WebSocket from 'frozor-websocket'
npm install frozor-websocket
No dependency data recorded yet.