sum-time
v1.0.0
Published
Sum up time durations
Downloads
370
Maintainers
Readme
sum-time
Sum up time durations
- Parses humanised times and ms
- As many arguments as desired to be summed
Install
$ npm install --save sum-time
Usage
const sumTime = require('sum-time')
sumTime('12h23m', 43 * 60 * 1000, '3h58m')
// = 61440000
Licence
MIT © Ben Evans