3.1.0 • Published 6 years ago

prettify-time v3.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

prettify-time

NPM

Description

Converts seconds into human readable text.

Install

npm i prettify-time

API

PrettifyTime(seconds: number, options: object);

options:
    units: Array containing any of these options ['d','h','m', 's']. Default is ['h','m']
    showZeroValues: boolean // Default false

return value:
    string
3.1.0

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago