Convert seconds to minutes
$ npm install --save sec-to-min
var secToMin = require('sec-to-min');
secToMin(70);
//=> '1:10'
Type: number
The number of seconds you want to conver to a minutes and seconds string. Must be a positive number.
MIT © Juan Soto