Oh heck, it's a heckin' case conversion library for PureScript
heckin provides functions for converting between various casing conventions.
camelCasePascalCasesnake_caseSCREAMING_SNAKE_CASEkebab-caseTitle Case
You can install heckin with Spago:
spago install heckinTo use heckin, import your desired casing functions and call them. All of the casing functions have a signature of String -> String.
In the REPL:
> import Data.String.Casing
> toSnakeCase "helloWorld"
"hello_world"
> toCamelCase "hello_world"
"helloWorld"
Documentation is available on Pursuit.
This library was inspired by heck, both in name and behavior.