Skip to content

Camel Case

toCamelCase is a function convert a string to camel case.

Example

This function will convert any string into camel case:

ts
import { toCamelCase } from "@titocandradev/neatcore";

const result = toCamelCase("hello world");
// helloWorld