1.0.0 • Published 8 years ago
secstamp v1.0.0
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
1.0.0
8 years ago