Calendar Pager
Utility for getting calendar dates with moment.
Dependencies
moment
moment-range
Installation
$ npm i --save calendar-pager
Usage
; // Get calendar dates of this month.const current // start of month range // moment-range prev // start of prev month next // start of next month} = ; // Get calendar dates of prev month.const prevPayload = ; // Get calendar dates of next month.const nextPayload = ; // Get calendar starting with Monday.const payload = ;
LICENSE
MIT