Custom Software Development and Engineering

Easier access to Paho MQTT JavaScript client with bower

We use MQTT a lot for a wide range of things. Embedded devices, custom hardware, sensors communications. Never heard of MQTT? From the OASIS specification:

MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement. These characteristics make it ideal for use in many situations, including constrained environments such as for communication in Machine to Machine (M2M) and Internet of Things (IoT) contexts where a small code footprint is required and/or network bandwidth is at a premium.

MQTT does this wonderfully and over the past six or so months, we’ve increased our use of Eclipse’s Paho MQTT client in JavaScript. The problem is, there isn’t a reliable bower package for it (most are out of date), and it’s rather frustrating.

So we cloned and wrapped up the Eclipse code into a bower package that we can use. We’ve since registered the package publically and you can now use it via:

bower install paho-mqtt-js

Looking for the repo? It’s publically available on Github: StickmanVentures/paho-mqtt-js.

There are no modifications and it follows the same semantic versioning used by the Eclipse project as to limit confusion.

We hope that web developers out there looking to use the MQTT client have an easier time (as do we :-).

Ready to start?

Get in touch. We're ready to listen.