runtime-to-seconds
v2.1.0
Published
Converts a string hh:mm:ss to seconds
Downloads
2
Readme
runtime-to-seconds
Converts a string hh:mm:ss
to seconds
Install
npm i runtime-to-seconds
Usage
var runtimeToSeconds = require('runtime-to-seconds');
runtimeToSeconds('1:25:46'); // => 5146
See spec.