mqtt-publish

Command line tool to publish retained topics defined in a JSON file.

Usage no npm install needed!

<script type="module">
  import mqttPublish from 'https://cdn.skypack.dev/mqtt-publish';
</script>

README

MQTT Publish

Command line tool to publish topics defined in a JSON file as retained messages with QoS 2. Check the --help for more information.

JSON Example File

{
  "foo": "string",
  "bar": true,
  "baz": [1, 2]
}