MQTT WebSocket Stream

JSON →
library 0.1.3 ·javascript
verified Jun 7, 2026

A Node.js library that implements a duplex stream over WebSocket, specifically designed to work with MQTT.js. Version 0.1.3 is the latest stable release with no recent updates. Key differentiators: optimized _writev for MQTT.js cork/write/uncork patterns, supports both browser WebSocket and Node.js ws library, and enables async socket creation for signed URLs (e.g., AWS IoT). Alternatives like websocket-stream lack these optimizations.