databox-js
Installation
npm install databox
Usage
var Databox = ; var client = push_token: '<my token>'; // Push one KPIclient; // Push multiple KPIsclient; // Callback is optionalclient; // Get last pushclient; // Retrieve several pushesclient; // Retrieve specific pushvar id = '14714784007cb9cd36cf46baefcd0a';client; // Retrieve pushed metric keysclient; // Purge pushed dataclient;
Development
git clone ...
npm test
Debugging
# Add "debugger" keyword anywhere and run
mocha debug test
Author & Licence
Comes with MIT.