1.2.1 • Published 6 months ago

yarrboard-client v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

yarrboard-client

Client for connecting to a Yarrboard

Install

npm install yarrboard-client

Usage

const YarrboardClient = require('yarrboard-client');

yb = new YarrboardClient(options.host, options.user, options.pass, options.login);
setTimeout(yb.printMessageStats.bind(yb), 1000);    

yb.onopen = function () {
  yb.json({"cmd":"toggle_channel","id": 0});
}

yb.onmessage = function (msg) {
  if (msg.msgid)
    this.log(msg.msgid);
}

yb.start();
1.2.0

6 months ago

1.1.0

7 months ago

1.2.1

6 months ago

1.0.1

9 months ago

1.0.0

9 months ago