workflo.macros.util.string

camel->kebab

(camel->kebab s)

Converts from camel case (e.g. Foo or FooBar) to kebab case (e.g. foo or foo-bar).

camelize-keys

(camelize-keys m)

Convert a Clojure map to a map where all keys are camel-cased strings that can be accessed like object properties in JS/React.

kebab->camel

(kebab->camel s)

Converts from kebab case (e.g. foo-bar) to camel case (e.g. fooBar).