seco
v0.1.1
Published
Seconds converter & formatter
Downloads
6
Readme
seco
Seconds converter & formatter
Install
bower install seco
npm install seco
Usage
var seco = require('seco');
seco(125).s === 5 // seconds
seco(120).m === 2 // minutes
seco(3600).h === 1 // hour
seco(3725).format('h:m:s') === '1:02:05'