MQTT.js
lastmod 2026-11-10created 2023-08-122 edits
MQTT.js is an MQTT client library written in JavaScript. It runs in both Node.js and the browser and supports several transports, including TCP, TLS, and WebSocket. It provides an API for connecting to a broker and subscribing to and publishing topics, along with automatic reconnection and QoS handling.
The MQTT client for Node.js and the browser