pretty-ms
Convert milliseconds to a human readable string
pretty-ms is a JavaScript utility for converting millisecond values into compact, human-readable durations. It accepts both numbers and BigInt values and automatically breaks durations into appropriate time units. Developers can choose concise output, full unit names, or digital-clock-style colon notation. Precision controls determine how seconds and milliseconds are rounded and displayed.