simple-recur

0.2.0 • Public • Published

simple-recur

Calculate date recurrence

Build status

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
 

Readme

Keywords

Package Sidebar

Install

npm i simple-recur

Weekly Downloads

183

Version

0.2.0

License

UNLICENSE

Last publish

Collaborators

  • jamiter