Expand description
Provides some utility functions for human-readable formatting of words.
Functions§
- and_
join - Join the list with an ‘and’ before the last element of the list.
- camel_
case - Formats the input string as a camel case name.
- camel_
case_ with_ limit - Formats the input string as a camel case name with a limit on the length.
- kebab_
case - Formats the input string as a kebab case name.
- kebab_
case_ with_ limit - Formats the input string as a kebab case name and limits the length of the name.
- name
- Formats the input string as a name.
- name_
with_ limit - Formats the input string as a name and limits the length of the name.
- or_join
- Join the list with an ‘or’ before the last element of the list.
- pascal_
case - Formats the input string as a pascal case name.
- pascal_
case_ with_ limit - Formats the input string as a pascal case name with a limit on the length.
- screaming_
kebab_ case - Formats the input string as a screaming kebab case name.
- screaming_
kebab_ case_ with_ limit - Formats the input string as a screaming kebab case name and limits the length of the name.
- screaming_
snake_ case - Formats the input string as a screaming snake case name.
- screaming_
snake_ case_ with_ limit - Formats the input string as a screaming snake case name and limits the length of the name.
- snake_
case - Formats the input string as a snake case name.
- snake_
case_ with_ limit - Formats the input string as a snake case name and limits the length of the name.
- username
- Creates a username from the provided string.
- username_
with_ limit - Creates a username from the provided string and limit.