date-ex
A Set of Utility extension method for Date class
Installation
npm i date-ex -S
yarn add date-ex
Usage
JavaScript
;2018 5 11; // return 2018-06-13
TypeScript
;new Date2018, 5, 11.dateByAddingDays2.toISODateString; // return 2018-06-13
Full check api list
Test
npm run test