@vinejs/vine - v4.2.0
    Preparing search index...

    Type Alias CamelCase<S>

    CamelCase: Join<CamelCasify<Words<S>>>

    Converts a string literal type to camelCase at the type level. Supports conversion from snake_case, kebab-case, PascalCase, and camelCase inputs.

    Type Parameters

    • S extends string

      The string literal type to convert

    type Result1 = CamelCase<'user_name'> // 'userName'
    type Result2 = CamelCase<'first-name'> // 'firstName'
    type Result3 = CamelCase<'FirstName'> // 'firstName'