Skip to content

camelCase

camelCase(target)

Converts target string to camelCase format.

ts
camelCase("hello world"); // "helloWorld"
camelCase("hello-world"); // "helloWorld"
ts
pipe("hello world", camelCase()); // "helloWorld"
pipe("hello-world", camelCase()); // "helloWorld"