UNPKG

@coolio/http

Version:
18 lines 918 B
export declare enum BodyCasing { CAMEL_CASE = "CAMEL_CASE", SNAKE_CASE = "SNAKE_CASE", SCREAMING_SNAKE_CASE = "SCREAMING_SNAKE_CASE", PASCAL_CASE = "PASCAL_CASE", KEBAB_CASE = "KEBAB_CASE" } export declare const splitWords: (text: string) => string[]; export declare const deepKeyMap: (object: any, mapper: (key: string) => string) => any; export declare type CaseConverter = (object: any) => any; export declare const toCamelCase: (object: any) => any; export declare const toPascalCase: (object: any) => any; export declare const toSnakeCase: (object: any) => any; export declare const toScreamingSnakeCase: (object: any) => any; export declare const toKebabCase: (object: any) => any; export declare const noConversion: (object: any) => any; export declare const getCaseConverter: (bodyCasing?: BodyCasing | undefined) => (object: any) => any; //# sourceMappingURL=caseConversion.helper.d.ts.map