0.1.5 • Published 4 years ago

diffhours v0.1.5

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

diffhours

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

Installation

yarn add diffhours

ou

npm install diffhours --save

How can i use it

very simple

const diffhours = require('diffhours');

console.log(diffhours('10:40', '01:10')) // 14H30
0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago