next-day-iterator
v0.0.3
Published
iterates date range day by day.
Downloads
5
Maintainers
Readme
next-day-iterator
iterates date range day by day.
Install
npm install next-day-iterator
Usage
nextDayIterator("2020-01-01", "2020-05-05", (start, end) => {
console.log(start, end);
},"YYYY-MM-DD");
Result
2020-01-01 2020-01-02
2020-01-02 2020-01-03
2020-01-03 2020-01-04
2020-01-04 2020-01-05
...