@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
25 lines (24 loc) • 612 B
TypeScript
/**
* Convert a string to lowercase.
*/
export declare function lowerCase(string: string): string;
/**
* Convert a string to UPPERCASE.
*/
export declare function upperCase(string: string): string;
/**
* Convert a string to camelCase.
*/
export declare const camelCase: (string: string) => string;
/**
* Convert a string to PascalCase.
*/
export declare const pascalCase: (string: string) => string;
/**
* Convert a string to snake_case.
*/
export declare const snakeCase: (string: string) => string;
/**
* Convert a string to dash-case.
*/
export declare const dashCase: (string: string) => string;