pretty-track-time

1.0.1 • Public • Published

pretty-track-time

Display media time format as h:mm:ss instead of seconds. Useful for media players (e.g. ReactSoundPlayer).

Example

import prettyTrackTime from 'pretty-track-time';

console.log(prettyTrackTime(206)) // seconds
// returns `03:26`

MIT Licensed

Readme

Keywords

Package Sidebar

Install

npm i pretty-track-time

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • dmitri