Decision Workspace
capitalize vs humanize-string vs titlecase
Side-by-side comparison of Rust crates
47
capitalize
growingv0.3.4
Change first character to upper case and the rest to lower case, and other common alternatives
44
humanize-string
experimentalv0.1.0
Convert a camelCase / snake_case / dash-case string into a human-readable one (fooBar -> Foo bar). A faithful port of the humanize-string npm package.
63
titlecase
growingv3.6.0
Capitalize text according to a style defined by John Gruber for Daring Fireball.
Core Metrics
| capitalize | humanize-string | titlecase | |
|---|---|---|---|
| Health Score | 47 | 44 | 63 |
| Total Downloads | 178.8K | 24 | 3.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 71 | 0 | 703 |
| Releases | 7 | 1 | 15 |
| Last Updated | 901d ago | 108d ago | 491d ago |
| Age | 4y 7m | 3m | 9y 3m |
Health Breakdown
capitalize
Maintenance
4
Quality
17
Community
10
Popularity
6
Documentation
10
humanize-string
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
15
titlecase
Maintenance
5
Quality
22
Community
13
Popularity
8
Documentation
15
Technical Details
| capitalize | humanize-string | titlecase | |
|---|---|---|---|
| Version | 0.3.4 | 0.1.0 | 3.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Unlicense | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 1 | 2 |
| Crate Size | 5KB | 9KB | 12KB |
| Features | 2 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.81 | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •titlecase leads with a health score of 63/100, but none of the options score above 80.
- •titlecase is depended on by 703 crates — strongest ecosystem trust.
- •⚠ capitalize, titlecase have not been updated in over a year.
- •capitalize, humanize-string are pre-1.0 — API may change.