the-sett/elm-string-case/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

String.Case

String functions that are useful when working with source code.

convertCase : String -> Bool -> Bool -> String -> String

Converts string between various case forms such as camel case, snake case or kebab case.

toCamelCaseUpper : String -> String

Converts a string to camel case with the first letter in uppercase.

toCamelCaseLower : String -> String

Converts a string to camel case with the first letter in lowercase.

toSnakeCaseUpper : String -> String

Converts a string to snake case with the first letter in uppercase.

toSnakeCaseLower : String -> String

Converts a string to snake case with the first letter in lowercase.

toKebabCaseUpper : String -> String

Converts a string to kebab case with the first letter in uppercase.

toKebabCaseLower : String -> String

Converts a string to kebab case with the first letter in lowercase.