@cfware/activity-monitor

    0.1.4 • Public • Published

    @cfware/activity-monitor

    Travis CI Greenkeeper badge NPM Version NPM Downloads MIT

    Browser activity monitor.

    Install @cfware/activity-monitor

    npm i --save @cfware/activity-monitor

    Usage

    import ActivityMonitor from '@cfware/activity-monitor';
     
    const activityMonitor = new ActivityMonitor(() => {
        if (!activityMonitor.activity) {
            console.log('Inactive');
            activityMonitor.disable();
        }
    });
     
    activityMonitor.enable();

    Keywords

    none

    Install

    npm i @cfware/activity-monitor

    DownloadsWeekly Downloads

    12

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    5.07 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar