Bakhtina Sofya b84cb877be 1st comm 3 هفته پیش
..
index.js b84cb877be 1st comm 3 هفته پیش
license b84cb877be 1st comm 3 هفته پیش
package.json b84cb877be 1st comm 3 هفته پیش
readme.md b84cb877be 1st comm 3 هفته پیش

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