Date Range Module Based on Day.js
dayjs-range-extend is an extended module based on Day.js (can use the function of Day.js) that provides a date range.
Built with TypeScript and Maintains stability based on Unit-Test (used Jest)
$ npm i --save dayjs-range-extend
import dayjsRange from 'dayjs-range-extend';
const date_range_first = dayjsRange('2022-01-01', '2022-01-05');
const date_range_second = dayjsRange('2022-01-04', '2022-01-10');
console.log(
date_range_first.isOverlap(date_range_second);
); // => true