sindresorhus

sindresorhus/pretty-ms

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

JavaScript
1211
66
MIT License

pretty-ms is a JavaScript library that converts milliseconds into human-readable time strings, such as "15d 11h 23m 20s". It's designed for developers who need to display time durations in a user-friendly format, offering various formatting options for different use cases.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of sindresorhus/pretty-ms

Account's avatar
Node.js test runner that lets you develop with confidence.

Support the repos that depend on sindresorhus/pretty-ms

Top contributors

sindresorhus's profile
sindresorhus
65 contributions
fisker's profile
fisker
4 contributions
icyflame's profile
icyflame
3 contributions
villebro's profile
villebro
3 contributions
arnellebalane's profile
arnellebalane
2 contributions
Richienb's profile
Richienb
2 contributions
kevva's profile
kevva
2 contributions
ehmicky's profile
ehmicky
1 contributions
OyuNet's profile
OyuNet
1 contributions
Rich-Harris's profile
Rich-Harris
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet