Decision Workspace
sanitize-filename-reader-friendly vs sanitize-filename vs sanitise-file-name
Side-by-side comparison of Rust crates
51
sanitize-filename-reader-friendly
growingv2.3.0
A filename sanitizer aiming to produce reader friendly filenames.
57
sanitize-filename
growingv0.6.0
A simple filename sanitizer, based on Node's sanitize-filename
51
sanitise-file-name
growingv1.0.0
An unusually flexible and efficient file name sanitiser
Core Metrics
| sanitize-filename-reader-friendly | sanitize-filename | sanitise-file-name | |
|---|---|---|---|
| Health Score | 51 | 57 | 51 |
| Total Downloads | 173.0K | 6.7M | 131.7K |
| 30d Downloads | 6.7K | 441.3K | 7.9K |
| Dependents | 339 | 1.9K | 160 |
| Releases | 12 | 8 | 1 |
| Last Updated | 326d ago | 177d ago | 1542d ago |
| Age | 6y | 7y 5m | 4y 2m |
Health Breakdown
sanitize-filename-reader-friendly
Maintenance
6
Quality
20
Community
9
Popularity
6
Documentation
10
sanitize-filename
Maintenance
11
Quality
15
Community
11
Popularity
8
Documentation
12
sanitise-file-name
Maintenance
1
Quality
22
Community
12
Popularity
6
Documentation
10
Technical Details
| sanitize-filename-reader-friendly | sanitize-filename | sanitise-file-name | |
|---|---|---|---|
| Version | 2.3.0 | 0.6.0 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT | BlueOak-1.0.0 OR MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 2 |
| Crate Size | 10KB | 5KB | 22KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.70.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sanitize-filename leads with a health score of 57/100, but none of the options score above 80.
- •sanitize-filename is depended on by 1.9K crates — strongest ecosystem trust.
- •⚠ sanitise-file-name has not been updated in over a year.
- •sanitize-filename is pre-1.0 — API may change.