calculate-daterange
A node package for calculating date ranges
# install dependenciesnpm install --save calculate-daterange# usage e.g it takes StartDate and EndDate as parametersvar calculateDateRanges = require('calculate-daterange');var dateRanges = calculateDateRanges(new Date().now , new Date('2017-09-26'))