{"library":"mqtt-websocket-stream","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.3","tags":["javascript","mqtt","stream","websocket"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mqtt-websocket-stream","imports":["import MqttWebSocketStream from 'mqtt-websocket-stream'","const { default: MqttWebSocketStream } = require('mqtt-websocket-stream')","import WebSocket from 'ws'"]},{"cmd":"yarn add mqtt-websocket-stream","imports":[]},{"cmd":"pnpm add mqtt-websocket-stream","imports":[]}],"homepage":"https://github.com/kmamykin/mqtt-websocket-stream","github":"https://github.com/kmamykin/mqtt-websocket-stream","docs":null,"changelog":null,"pypi":null,"npm":"mqtt-websocket-stream","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}