UNPKG

tmdbrjs

Version:

A TypeScript wrapper for The Movie Database (TMDB) API

13 lines 510 B
/** * Converts a camelCase string to snake_case * @param str The camelCase string to convert * @returns The snake_case version of the string */ export declare function camelToSnakeCase(str: string): string; /** * Converts an array of camelCase strings to snake_case * @param arr The array of camelCase strings to convert * @returns The array with all strings converted to snake_case */ export declare function camelToSnakeCaseArray(arr: string[]): string[]; //# sourceMappingURL=caseConversion.d.ts.map