Bakhtina Sofya b84cb877be 1st comm il y a 3 semaines
..
index.js b84cb877be 1st comm il y a 3 semaines
license b84cb877be 1st comm il y a 3 semaines
package.json b84cb877be 1st comm il y a 3 semaines
readme.md b84cb877be 1st comm il y a 3 semaines

readme.md

sec Build Status

Convert a time string to seconds: '00:22:17'1337

Install

$ npm install --save sec

Usage

var sec = require('sec');

// hours:minutes:seconds
sec('00:22:17');
//=> 1337

sec('22:17');
//=> 1337

sec('17');
//=> 17

License

MIT © Sindre Sorhus