Skip to content

CamelCase

Category
String Operation

Replace the snake_case or kebab-case string with camelCase.

Usage

ts
import type { 
CamelCase
} from '@utype/core'
// Expect: "fooBarBaz" type
FooBarBaz
=
CamelCase
<"foo_bar_baz">
// Expect: "fooBarBaz" type
FooBarBaz2
=
CamelCase
<"foo-bar-baz">