pretty-ms
A formatter that converts milliseconds into readable durations.
What it does
A formatter that converts milliseconds into readable durations.
When it fits
Showing elapsed time and task durations in interfaces or logs.
Other options in this category
- @internationalized/date — Building date controls that need explicit calendar and timezone behavior.
- Chrono — Turning phrases such as next Friday into structured date information.
- date-fns — Picking individual functions for the date operations you need.
- Day.js — Working with dates through a familiar, chainable API.
- Spacetime — Working with dates across timezones using a chainable interface.
Source
Project source for pretty-ms ↗
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.