MQTT.js is an open source project providing a lightweight, robust MQTT Packet Parser and MQTT Client. This tag is for questions pertaining to this project, including mqtt.js dependents (libraries that make use of mqtt.js).
MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/subscribe messaging transport that is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. MQTT today is used in a wide variety of industries, such as automotive, manufacturing, telecommunications, oil and gas, etc.
The implementation of the MQTT protocol varies across different libraries, with each library providing unique APIs and support for different versions of the MQTT protocol.
MQTT.js contains the npm package mqtt
, one of the most popular MQTT client libraries implemented in the JavaScript programming language. The MQTT.js mqtt
library is for use with NodeJS and Browser-based applications. It's implementation supports MQTT v3.1.1, and MQTT v5.
The MQTT.js group of libraries includes a MQTT parser that is a dependency of the mqtt
package and other packages.
Questions provided using the mqtt.js
tag should be relevant specifically to the libraries provided under the MQTT.js group of libraries, including mqtt
(MQTT.js) and mqtt-packet
(the parser and packet handling library).