všetky možnosti
forky  ] [  sid  ]
[ Zdroj: node-pretty-time  ]

Balík: node-pretty-time (1.1.0-1)

Odkazy pre node-pretty-time

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík node-pretty-time:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Stiahnuť node-pretty-time

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 5.7 kB18.0 kB [zoznam súborov]