Bug#1108956: ITP: node-pretty-time -- Formats time intervals into human-readable strings
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : node-pretty-time
Version : 1.1.0
Upstream Author : Jon Schlinkert
* URL : https://github.com/jonschlinkert/pretty-time
* License : MIT
Programming Lang: JavaScript
Description : 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.
This library is a dependancy of Home Assistant, the smart home platform.
I plan to maintain this package as part of the JavaScript team.
Reply to: