npm: possibly marvellous

    cogsworth-schedule

    0.0.5 • Public • Published

    cogsworth-schedule

    Schedule is an optional but recommended base class for using schedules in cogsworth.

    Any schedules you pass to cogsworth will eventually be cast into a Schedule instance.

    It provides very little value outside of providing a default id.

    A schedule of cogsworth has an id, a trigger, & a tourist. tourist is additional data that you can pass that cogsworth takes along for the ride!

    usage

    var Schedule = require('cogsworth-schedule')
    var schedule = new Schedule({
      [id]: 'some_id',
      trigger: <Trigger>,
      [tourist]: { ... }
    })

    Install

    npm i cogsworth-schedule

    DownloadsWeekly Downloads

    0

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • cdaringe