WebSocket Express

JSON →
library 4.1.0 ·javascript
verified Jun 7, 2026

WebSocket-Express v4.1.0 extends Express with WebSocket support via the ws library, providing a unified API for HTTP and WebSocket handling. Unlike express-ws, it avoids monkey-patching Express objects, fully supports async/await, transactions for reliable message delivery, and TypeScript types out of the box. Requires peer dependencies express@5.x and ws@8.x. Released under MIT license, actively maintained.