@greenants/every

0.1.0 • Public • Published

Usage

const { Weekly } = require('every');

const weekly = new Weekly({
    day: 'Tuesday',                     // required
    time: '20:00',                      // required
    nTheOfTheMOnth: ['first', 'third']  // optional
})

const dates = weekly.next(2)  // getting the next 2 occurances

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i @greenants/every

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

820 B

Total Files

4

Last publish

Collaborators

  • greenants