Skip to content

camelCase

camelCase(string) → string · String

Convert a string to camelCase.

  • string (required): the string to convert
utlx
camelCase("hello world")        // "helloWorld"
camelCase("some-kebab-case")    // "someKebabCase"
camelCase("SCREAMING_SNAKE")    // "screamingSnake"

Released under AGPL-3.0.