Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

hms-to-seconds

1.0.1 • Public • Published

hms-to-seconds Build Status

Convert HH:MM:SS to seconds

Install

$ npm install hms-to-seconds

Usage

const hmsToSeconds = require('hms-to-seconds');
 
hmsToSeconds('00:12:32');
//=> 752

API

hmsToSeconds(input)

input

Type: string

License

MIT © fBosch

Install

npm i hms-to-seconds

DownloadsWeekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar