days-difference This is asmall package to calculate the difference between two dates in days Example const dif = require('days-difference'); console.log(dif(new Date(2022, 2, 22), new Date()));5