@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

Readme

Keywords

none

Package Sidebar

Install

npm i @greenants/every

Weekly Downloads

2

Version

0.1.0

License

ISC

Unpacked Size

820 B

Total Files

4

Last publish

Collaborators

  • greenants