websocket-lib

JSON →
library 3.3.0 ·javascript
verified Jun 7, 2026

A lightweight WebSocket library for Node.js at version 3.3.0 (released 2023). It provides a simple API to create WebSocket servers and clients, with session-based event handling (data, close). The library supports both Node.js and browser environments. Key differentiators: minimal dependencies, straightforward stream-like API, and no external WebSocket library required (uses native 'net' and 'crypto' modules). Release cadence is sporadic, with the last update in 2023.