Tooling
The goal of this page is to outline libraries and tools across languages for performing case conversion. The goal would be to have a list of tools that meet a formal specification. For now, that specification does not exist.
The closest implementation would be a rust library developed by the primary author of this site: convert_case
.
Other libraries exist that have their own way of performing conversion. They might use different naming conventions or different algorithms for splitting identifiers.
I want to bring special attention to github user jawira, whose site for their php library case-converter is very comprehensive. It’s clear that the author has thought about this problem a lot and considered the nuances of acronyms and boundary conditions, and has clearly documented the definition of a case as the pair of a pattern and delimiter.
Library | Language |
---|---|
strcase | Go |
case-converter | PHP |
case-converter | Python |
heck | Rust |