all options
forky  ] [  sid  ]
[ Source: node-pretty-time  ]

Package: node-pretty-time (1.1.0-1)

Links for node-pretty-time

Screenshot

Debian Resources:

Download Source Package node-pretty-time:

Maintainers:

External Resources:

Similar packages:

Formats time intervals into human-readable strings

This library formats time intervals provided by node.js's process.hrtime function into human-readable strings. It is capable of representing time durations across a wide range of scales, from weeks to nanoseconds. The formatting defaults to the most appropriate scale unless a specific minimum increment is specified, allowing for flexible and precise time display. It converts numerical hrtime arrays into expressive strings such as '2w', '20h', or '88ns', using various time increments for clear representation. Useful for displaying elapsed time in a readable format in applications that require rapid or frequent time checks.

Download node-pretty-time

Download for all available architectures
Architecture Package Size Installed Size Files
all 5.7 kB18.0 kB [list of files]