Skip to content

Function: camelCase()

ts
function 
camelCase
(
str
): string;

Defined in: index.ts:19

Converts a dash- or space-separated string to camelCase.

Not using regexp for better performance, because this function is used in parser.

Parameters

ParameterType

str

string

Returns

string

在 MIT 许可证下发布