Difference between two hours
This package is very simple, it determine the existing number of hours between two hours. it's waiting two parameters(string) : startTime
and endTime
yarn add diffhours
ou
npm install diffhours --save
very simple
const diffhours = require('diffhours');
console.log(diffhours('10:40', '01:10')) // 14H30