0.0.1 • Published 6 years ago

hall-monitor v0.0.1

Weekly downloads
154
License
ISC
Repository
-
Last release
6 years ago

Install

YARN
yarn add hall-monitor
NPM
npm install --save hall-monitor

Example Usage

import HallMonitor from 'hall-monitor'


const clearMonitor = HallMonitor.register({
  interval: 10000,
  eventType: 'click',
  callback: () => { console.log('do a thing') },
});
Description of a register object
optionpurposeexample
intervalHow often should a given callback trigger10000
eventTypeUsed to determine activity (Optional)'click'
callbackwhat will execute on the intervalAny(Function)