date-range-array
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/date-range-array package

2.1.0 • Public • Published

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

Package Sidebar

Install

npm i date-range-array

Weekly Downloads

127

Version

2.1.0

License

MIT

Unpacked Size

2.89 kB

Total Files

6

Last publish

Collaborators

  • dguttman