UNPKG

@pryv/monitor

Version:

Extends `pryv` with event-driven notifications for changes on a Pryv.io account

19 lines (16 loc) 470 B
/** * @license * [BSD-3-Clause](https://github.com/pryv/lib-js/blob/master/LICENSE) */ /* global pryv */ /** * This entry point is for Browser only * It extends `pryv` with Monitor capabilities */ const extendPryv = require('./index.js'); (function () { if (pryv == null) { throw new Error('"pryv" is not accessible, add <script src="https://api.pryv.com/lib-js/pryv.js"></script> in your html file, before pryv-monitor.js'); } extendPryv(pryv); })();