Decision Workspace
pretty-ms vs ms-convert vs compound_duration
Side-by-side comparison of Rust crates
49
pretty-ms
experimentalv0.1.1
Convert milliseconds to a human-readable string: 1337000000 -> "15d 11h 23m 20s". A faithful port of the pretty-ms npm package. Zero dependencies.
37
ms-convert
experimentalv0.1.0
Convert human-readable time strings to milliseconds and vice versa, inspired by vercel/ms
59
compound_duration
growingv2.0.0
Convert seconds to compound duration (week, days, hours, minutes, seconds)
Core Metrics
| pretty-ms | ms-convert | compound_duration | |
|---|---|---|---|
| Health Score | 49 | 37 | 59 |
| Total Downloads | 49 | 23 | 67.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 251 |
| Releases | 2 | 1 | 8 |
| Last Updated | 109d ago | 235d ago | 338d ago |
| Age | 3m | 7m | 7y 3m |
Health Breakdown
pretty-ms
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
15
ms-convert
Maintenance
4
Quality
15
Community
6
Popularity
2
Documentation
10
compound_duration
Maintenance
6
Quality
21
Community
13
Popularity
6
Documentation
13
Technical Details
| pretty-ms | ms-convert | compound_duration | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | BSD-3-Clause |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 13KB | 5KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.74 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compound_duration leads with a health score of 59/100, but none of the options score above 80.
- •compound_duration is depended on by 251 crates — strongest ecosystem trust.
- •pretty-ms, ms-convert are pre-1.0 — API may change.