Skip to content

pantoken-root / packages/utils/src / camelCase

함수: camelCase() ​

camelCase(kebab): string

베타

kebab-case 문자열을 camelCase로 변환 (color-background-brand → colorBackgroundBrand).

매개변수 ​

kebab ​

string

반환값 ​

string

예제 ​

ts
import { camelCase } from "@pantoken/utils";

camelCase("color-background-brand"); // → "colorBackgroundBrand"