This little helper converts timestamps to seconds and vice versa. Use it for transcoding or display purposes of videos and other media files.
const acts = require('ac-timeConverter')
let timeStamp = acts.timestampFromSeconds(300)
// -> 00:00:05
let seconds = acts.secondsFromTimestamp('00:00:06')
// -> 6
let duration = acts.duration('00:00:03', '00:00:06')
// -> 3