Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

date-range-array

davidguttman500MIT2.1.0TypeScript support: definitely-typed

Create an array of dates.

date, date range, array, time

readme

date-range-array

Create an array of dates.

Example


var dra = require('date-range-array')

var dates = dra('2015-02-27', '2015-03-02')

console.log('dates', dates)
// [ '2015-02-27', '2015-02-28', '2015-03-01', '2015-03-02' ]

License

MIT