zab
v0.0.6
Published
zab tools
Downloads
8
Readme
zab
function gotMessage(topic, payload) {
console.log("=>", topic, payload);
}
async function init() {
await zab.connect("username", "password", gotMessage);
zab.sub("topic1");
zab.pub("topic1", { hi: "hello" });
}