node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

sum-time

sum-time

Sum up time durations

Install

$ npm install --save sum-time

Usage

const sumTime = require('sum-time')
 
sumTime('12h23m', 43 * 60 * 1000, '3h58m')
// = 61440000 

Licence

MIT © Ben Evans