Alle Optionen
forky  ] [  sid  ]
[ Quellcode: node-pretty-time  ]

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

Links für node-pretty-time

Screenshot

Debian-Ressourcen:

Quellcode-Paket node-pretty-time herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.

node-pretty-time herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 5,7 kB18,0 kB [Liste der Dateien]