simple-recur
v0.2.0
Published
Calculate date recurrence
Downloads
1,202
Readme
simple-recur
Calculate date recurrence
Test
npm test
Build
npm run build
Watch
npm run watch
Options
- units (Number)
- measure ('weeks', 'months', 'years')
- start (Date)
- from (Date)
Examples
Recur = require 'simple-recur'
recur = new Recur
recur.every 2, 'month'
recur.next 3
# outputs: [moment, moment, moment]
recur.matches new Date
# outputs a boolean