swiftstructure/caseconverter
A case conversion utility that transforms strings between various naming conventions.
Cases contained in this library:
- kebab-case (hyphen-separated lowercase)
- lowerCamelCase (first word lowercase, subsequent capitalized)
- SHOUTY-KEBAB-CASE (hyphen-separated uppercase)
- SHOUTY_SNAKE_CASE (underscore-separated uppercase)
- snake_case (underscore-separated lowercase)
- Title Case (space-separated capitalized)
- Train-Case (hyphen-separated capitalized)
- UpperCamelCase/PascalCase (all words capitalized)
Acknowledgements
- This project is a Swift implementation inspired by the core algorithm
of withoutboats/heck. Special thanks to the original authors for their work.
Package Metadata
Repository: swiftstructure/caseconverter
Default branch: main
README: README.md