Neurotic Programmer Masquerade

    event-clock

    1.2.2 • Public • Published

    Event Clock Build Status

    Introduction:

    Create timed event callbacks.

    Example use:

    var EventClock = require('event-clock');
     
    EventClock.on('19:00:30', function () {
      // this will fire at 19:00:30 system time
    });
     
    var cb = function () {
      // this will fire 19:01:00 system time
    }
     
    EventClock.on('19:01', cb);
     
    // removable with:
    EventClock.off('19:01', cb);
     
    // stop clock
    EventClock.stop();

    Development:

    npm install
    npm test
    

    Install

    npm i event-clock

    DownloadsWeekly Downloads

    1

    Version

    1.2.2

    License

    MIT

    Unpacked Size

    4.63 kB

    Total Files

    5

    Last publish

    Collaborators

    • eiriklv