Package Exports
- video-time-parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (video-time-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
video-time-parser 
Install
$ npm install video-time-parser
Usage
const parser = require("video-time-parser");
time = parser("1:23:24");
//time.hours == 1
//time.minutes == 23
//time.seconds == 24
//time.duration == 5004
API
parser(input, options?)
input
Type: string
options
Type: object
return
Type: object
{
hours: <number>
minutes:<number>
seconds:<number>
duration:<number>
}