1.0.1 • Published 8 years ago
sec-to-min v1.0.1
sec-to-min
Convert seconds to minutes
Install
$ npm install --save sec-to-min
Usage
var secToMin = require('sec-to-min');
secToMin(70);
//=> '1:10'
API
secToMin(seconds)
seconds
Type: number
The number of seconds you want to conver to a minutes and seconds string. Must be a positive number.
License
MIT © Juan Soto