/libbeacon

Library for interacting with beacon

Primary LanguageJavaScriptMIT LicenseMIT

libbeacon

Library for interacting with beacon. If you don't know what that is this library is not for you!

Installation

$ npm install libbeacon

Example

var beacon = new Libbeacon();
beacon.login('username', 'password', function(err, success) {
    beacon.get('Jobs/1', {}, function(error, data) {
        console.log(data);
    }
});

Tests

$ npm install
$ BEACON_USERNAME='user' BEACON_PASSWORD='pass' npm test

License

MIT