Date functions mainly - counting no of days between 2 dates
npm install date-superjs
var dateSuper = require("date-super");
var date1 = new Date("01/30/2001");
var date2 = new Date("02/30/2001");
var days = daysBetween(date1, date2);
console.log(days)
`
The library is available as an npm package.
To install the package run:
`bash
npm install date-super --save
or with yarn
yarn add date-super
``