NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1621 most downloaded on npm
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Latest stable
10.0.0
Last release 1 months ago
14 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Some releases are documented
notes for 14 of 30 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
30 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Ignore `unitCount` with `colonNotation` cc2326c
unitCount with colonNotation cc2326c
3661000 with unitCount: 2 was 1:01, which reads as 1 minute and 1 second. It is now 1:01:01.colonNotation and hideSeconds c501a70
60000 was a bare 1. It is now 0:01, so the fields always read as h:mm.colonNotation after a year c77bbd0
1:05:00:00:00 is now 1:005:00:00:00, so the width does not change between 9 and 100 days.parse-ms dependency 4cdc911999.9999999999999 is 1s, not 999ms. An integer (number or bigint) is exact at any size. Learn more.1999.999999 was 2s, and 59999.999999 was 60s. They are now 1.9s and 59.9s.40176002900 with secondsDecimalDigits: 2 was 1y 100d 2.89s. It is now 1y 100d 2.90s.1e22 showed 18h 36m instead of 17h 46m.0.00397 with formatSubMilliseconds was 3µs 969ns, and 1234567890123 showed a phantom 64ns.1.005 with millisecondsDecimalDigits: 2 was 1.00ms. It is now 1.01ms.0ms 124a6ee 8b2dff2-0ms 2727b38hideSeconds showing 0ms for a duration under a minute 618aae9
45000 is now 45s, as there is no larger unit to show.subSecondsAsDecimals showing 0ms when the seconds cannot show the value b884336
50 was 0ms. It is now 50ms.secondsDecimalDigits and millisecondsDecimalDigits throwing a RangeError for values outside 0-100, and showing NaNs for NaN b9c75fcunitCount: NaN returning an empty string c00947ehttps://github.com/sindresorhus/pretty-ms/compare/v9.3.1...v10.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Prevent milliseconds from rounding up to 1000ms e503749
https://github.com/sindresorhus/pretty-ms/compare/v9.3.0...v9.3.1
Add `subSecondsAsDecimals` option 761af4c
subSecondsAsDecimals option 761af4chttps://github.com/sindresorhus/pretty-ms/compare/v9.2.0...v9.3.0
Add hideYears, hideYearsAndDays, and hideSeconds options (#72) 25509bc
hideYears, hideYearsAndDays, and hideSeconds options (#72) 25509bchttps://github.com/sindresorhus/pretty-ms/compare/v9.1.0...v9.2.0
Support negative milliseconds (#71) 7891386
https://github.com/sindresorhus/pretty-ms/compare/v9.0.0...v9.1.0
Require Node.js 18 (#65) 228dd07
BigInt (#66) 014edf2https://github.com/sindresorhus/pretty-ms/compare/v8.0.0...v9.0.0
Require Node.js 14 4081b02 c65a1bb
https://github.com/sindresorhus/pretty-ms/compare/v7.0.1...v8.0.0
Fix sub-second output when using colonNotation option (#53) 8fdcaec
colonNotation option (#53) 8fdcaechttps://github.com/sindresorhus/pretty-ms/compare/v7.0.0...v7.0.1
Always floor time instead of rounding up (#49) 20cbdaf It's probably not breaking to most users, but if you depend on the exact output, in for example
https://github.com/sindresorhus/pretty-ms/compare/v6.0.1...v7.0.0
Fix spacing when using colonNotation option (#47) 0de4dc3
colonNotation option (#47) 0de4dc3https://github.com/sindresorhus/pretty-ms/compare/v6.0.0...v6.0.1
Remove tilde prefix ~ from compact and unitCount option output 4e3c6a6 737628f
~ from compact and unitCount option output 4e3c6a6 737628fhttps://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v6.0.0
Add `colonNotation` option (#37) b672415
colonNotation option (#37) b672415https://github.com/sindresorhus/pretty-ms/compare/v5.0.0...v5.1.0
secDecimalDigits → secondsDecimalDigits
Breaking:
secDecimalDigits → secondsDecimalDigitsmsDecimalDigits → millisecondsDecimalDigits separateMs → separateMillisecondsformatSubMs → formatSubMillisecondsEnhancements:
https://github.com/sindresorhus/pretty-ms/compare/v4.0.0...v5.0.0
Add unitCount option. (#29) 4717127
Breaking:
Other:
unitCount option. (#29) 4717127{secDecimalDigits: 0} rounding rollover issue. (#27) 7602f88https://github.com/sindresorhus/pretty-ms/compare/v3.2.0...v4.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.