@cunneen/recurring-date is a small, zero-dependency, Javascript utility for generating recurring
dates i.e. dates that repeat on a regular schedule (e.g. "Every 3 days", or "Every third Tuesday and Thursday").
See below for instructions and an interactive demonstration.
See the GitHub repo for more details.
Try changing some values in the form below, and then press "Generate" to generate the recurring dates.
Expand the sections further below for install instructions and code examples.
npm install @cunneen/recurring-date
# you also need moment or dayjs installed
Below is the Javascript code that, based on what you've configured in the form above, will generate the dates.
Click the "copy" button to copy the code to the clipboard.
Below is the JSON date-recurrence pattern that you've configured in the form above.
Click the "copy" button to copy the pattern to the clipboard.