UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

10 lines (9 loc) 284 B
/** * Generates an array of dates between two dates with a step (in days). * @author @dailker * @param {Date} start * @param {Date} end * @param {number} [step=1] * @returns {Date[]} */ export declare function dateRange(start: Date, end: Date, step?: number): Date[];