secstamp

1.0.0 • Public • Published

secstamp Build Status js-standard-style

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

Readme

Keywords

none

Package Sidebar

Install

npm i secstamp

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sgs