json_to_ts/main.py
def kebab_to_camel(kebab_str: str, first_caps: bool = False) -> str:
    """
    Convert kebab-case to camelCase
    """
    first, *others = kebab_str.split("-")
    first = first_caps and first.capitalize() or first.lower()
    return "".join([first, *map(str.title, others)])

    Convert kebab-case to camelCase
    
Convert kebab-case to camelCase
Convert kebab - case to camelCase
def kebab_to_camel(kebab_str: str, first_caps: bool = False) -> str:
    first, *others = kebab_str.split("-")
    first = first_caps and first.capitalize() or first.lower()
    return "".join([first, *map(str.title, others)])
def kebab_to_camel ( kebab_str : str , first_caps : bool = False ) -> str : first , * others = kebab_str . split ( "-" ) first = first_caps and first . capitalize ( ) or first . lower ( ) return "" . join ( [ first , * map ( str . title , others ) ] )
Convert kebab-case to camelCase
Convert kebab - case to camelCase
"""
    Convert kebab-case to camelCase
    """
kebab_str
str
first_caps
bool