time-span-format
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

time-span-format

npm The MIT License npm type definitions code style: prettier Commitizen friendly

Convert seconds to "HH:MM:SS".

Documentation.

Quick start

import timeSpanFormat from 'time-span-format';
 
timeSpanFormat(0); // 00:00:00
 
timeSpanFormat(1 * 3600 + 20 * 60 + 9); // 01:20:09

Installation

npm i time-span-format

Readme

Keywords

none

Package Sidebar

Install

npm i time-span-format

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

927 kB

Total Files

27

Last publish

Collaborators

  • xiechao06