{"library":"websocket-perfect","type":"library","category":null,"description":"An RxJS-based WebSocket wrapper for JavaScript/TypeScript that supports automatic reconnection and business subscription caching. At version 1.1.3, it provides observable-based WebSocket communication with hooks (beforeSend/afterSend), interceptors for message transformation, and configurable buffer/cache settings to resubscribe after reconnect. Key differentiators: integrates with RxJS 6+, allows per-message cache control via bufferWhen or _flush property, and offers simple send/close API. Stable release, low update cadence.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","websocket","rxjs","websocket-rxjs"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install websocket-perfect","imports":["import Ws from 'websocket-perfect'","import Ws from 'websocket-perfect'","import { Observable } from 'rxjs'"]},{"cmd":"yarn add websocket-perfect","imports":[]},{"cmd":"pnpm add websocket-perfect","imports":[]}],"homepage":"https://github.com/weixiaoyi/websocket-perfect#readme","github":"https://github.com/weixiaoyi/websocket-perfect","docs":null,"changelog":null,"pypi":null,"npm":"websocket-perfect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}