Add or subtract days from a date (without modifying the original date)
npm install add-days
const addDays = require('add-days');
const today = new Date();
const tomorrow = addDays(today, 1);
// today.toISOString() => '1985-09-25T00:00:00.000Z'
// tomorrow.toISOString() => '1985-09-26T00:00:00.000Z'
Type: Date
(required)
Type: Number
(required)
MIT