Liking cljdoc? Tell your friends :D

camelsnake

Clojars Project Build Status

A string casing conversion library. Supports the following casing styles:

  • snake_case
  • camelCase
  • kebab-case

For transforming a string from any of the given formats, use one of the conversion methods:

(->camelCase "adventure-time") ; returns "adventureTime"
(->snake_case "adventure-time") ; returns "adventure_time"
(->kebab-case "adventureTime") ; returns "adventure-time"

License

Copyright (C) 2015-2016 FullContact. Distributed under the Eclipse Public License, the same as Clojure.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close