Zerva WebSocket

JSON →
library 0.3.5 ·javascript
verified Jun 7, 2026

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.