@greenants/every
v0.1.0
Published
Generate occurance events (date/time)
Downloads
1
Readme
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