UNPKG

@yeci226/hoyoapi

Version:

HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.

15 lines (14 loc) 463 B
/** * Converts a string in snake_case format to camelCase format. * * @param str - The string to be converted. * @returns The converted string in camelCase format. */ export declare function toCamelCase(str: string): string; /** * Converts a string in camelCase format to snake_case format. * * @param text - The string to be converted. * @returns The converted string in snake_case format. */ export declare function toSnakeCase(text: string): string;