websocket-extensions

JSON →
library 0.1.4 ·javascript
verified Jun 7, 2026

Minimal framework for implementing WebSocket extensions decoupled from the protocol. Version 0.1.4 (stable, low release cadence). Key differentiator: it provides abstract frame/message representations and negotiation of Sec-WebSocket-Extensions headers, allowing any WebSocket library built on this framework to use extensions like permessage-deflate. It is a foundational library used by faye-websocket and other WebSocket implementations.