Decision Workspace
humanize-string vs decamelize vs capitalize
Side-by-side comparison of Rust crates
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.
52
decamelize
experimentalv0.1.1
Convert a camelCase string to a separated lower-case string (e.g. fooBar -> foo_bar). A faithful, zero-dependency port of the decamelize npm package.
47
capitalize
growingv0.3.4
Change first character to upper case and the rest to lower case, and other common alternatives
Core Metrics
| humanize-string | decamelize | capitalize | |
|---|---|---|---|
| Health Score | 44 | 52 | 47 |
| Total Downloads | 24 | 236 | 178.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 71 |
| Releases | 1 | 2 | 7 |
| Last Updated | 108d ago | 101d ago | 901d ago |
| Age | 3m | 3m | 4y 7m |
Health Breakdown
humanize-string
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
15
decamelize
Maintenance
12
Quality
15
Community
7
Popularity
3
Documentation
15
capitalize
Maintenance
4
Quality
17
Community
10
Popularity
6
Documentation
10
Technical Details
| humanize-string | decamelize | capitalize | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.1 | 0.3.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Unlicense |
| Dependencies | 1 | 0 | 2 |
| Crate Size | 9KB | 10KB | 5KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81 | 1.81 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •decamelize leads with a health score of 52/100, but none of the options score above 80.
- •capitalize has the most downloads (178.8K), suggesting wider adoption.
- •⚠ capitalize has not been updated in over a year.