3.1.0 • Published 7 years ago

prettify-time v3.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago