{"library":"zerva-websocket","type":"library","category":null,"description":"Zerva WebSocket is a lightweight, resilient WebSocket module for the Zerva event-driven server framework. Version 0.3.5 provides plain WebSocket connections with automatic reconnection, heartbeat (ping/pong), and supports three communication patterns: raw binary channels (via Zeed Channel), typed message interfaces (via Zeed Message), and PubSub. It is designed for Node.js (>=14.13.1) with full TypeScript support. Key differentiators include transparent reconnection that preserves the same channel object, binary-first encoding with pluggable codecs, and tight integration with Zeed's messaging primitives. Ideal for applications needing simple, reliable WebSocket communication without the overhead of Socket.IO.","language":"javascript","status":"active","version":"0.3.5","tags":["javascript","server","typescript","event","websocket","socket","zerva","zeed"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install zerva-websocket","imports":["import { useWebSocket } from 'zerva-websocket'","import { on } from 'zerva'","import { WebSocketConnection } from 'zerva-websocket'","import { useMessageHub } from 'zeed'"]},{"cmd":"yarn add zerva-websocket","imports":[]},{"cmd":"pnpm add zerva-websocket","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"zerva-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}