1.0.3 • Published 4 years ago

boodskap-commons v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Getting Started

This plugin requires node >= 6.0.0 and npm >= 1.4.15 (latest stable is recommended).

NPM Module Installation

> npm install boodskap-commons --save

How it works?

var Boodskap = require('boodskap-commons');

var config = {
    "apiUrl": "",
    "mqtt": {
        "hostName": '',
        "portNo": 443,
        "ssl": true
    }

}

# new Boodskap(config, authResponse);
# if you have already logged in pass the response json to the boodskap module