alla flaggor
forky  ] [  sid  ]
[ Källkod: node-pretty-time  ]

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

Länkar för node-pretty-time

Screenshot

Debianresurser:

Hämta källkodspaketet node-pretty-time:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Hämta node-pretty-time

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 5,7 kbyte18,0 kbyte [filförteckning]