{"library":"wscl","type":"library","category":null,"description":"Tiny WebSocket wrapper (~635 bytes brotlied) with auto-reconnect (exponential backoff) and message buffering. Version 2.3.2, stable. Smaller than alternatives like reconnecting-websocket. Ships TypeScript types. Features: on() returns unsubscribe, message callback receives data directly (not event), connect() returns Promise.","language":"javascript","status":"active","version":"2.3.2","tags":["javascript","websocket","websocket-client","socket","ws","wss","reconnect","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wscl","imports":["import { Client } from 'wscl'","import { events } from 'wscl'","import type { Client } from 'wscl'"]},{"cmd":"yarn add wscl","imports":[]},{"cmd":"pnpm add wscl","imports":[]}],"homepage":"https://github.com/farwayer/wscl#readme","github":"https://github.com/farwayer/wscl","docs":null,"changelog":null,"pypi":null,"npm":"wscl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}