hhmmss

Converts seconds to hh:mm:ss formatted string for use in media players

Usage no npm install needed!

<script type="module">
  import hhmmss from 'https://cdn.skypack.dev/hhmmss';
</script>

README

hhmmss

Converts seconds to hh:mm:ss formatted string

npm install hhmmss
var hhmmss = require('hhmmss');

var timeString = hhmmss(256);
// '04:16'

MIT License