secstamp
v1.0.0
Published
converts seconds to timestamp string (hh:mm:ss)
Downloads
2
Readme
secstamp
convert seconds to a timestamp string (h*:mm:ss)
installation
npm install secstamp --save
usage
var secstamp = require('secstamp')
secstamp(42) // ➜ '0:42'
secstamp(63) // ➜ '1:03'
secstamp('4357') // ➜ '1:12:37'
See tests for more examples.
license
MIT