@expressots/cli
Version:
Expressots CLI - modern, fast, lightweight nodejs web framework (@cli)
37 lines (36 loc) • 1.61 kB
TypeScript
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to camelCase.
* @param str - The input string to be converted.
* @returns The converted string in camelCase.
*/
export declare function anyCaseToCamelCase(str: string): string;
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to kebab-case.
* @param str - The input string to be converted.
* @returns The converted string in kebab-case.
*/
export declare function anyCaseToKebabCase(str: string): string;
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to PascalCase.
* @param str - The input string to be converted.
* @returns The converted string in PascalCase.
*/
export declare function anyCaseToPascalCase(str: string): string;
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to snake_case.
* @param str - The input string to be converted.
* @returns The converted string in snake_case.
*/
export declare function anyCaseToSnakeCase(str: string): string;
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to UPPER CASE.
* @param str - The input string to be converted.
* @returns The converted string in UPPER CASE.
*/
export declare function anyCaseToUpperCase(str: string): string;
/**
* Converts a string from any case (camelCase, PascalCase, kebab-case, snake_case) to lower case.
* @param str - The input string to be converted.
* @returns The converted string in lower case.
*/
export declare function anyCaseToLowerCase(str: string): string;