UNPKG

case-converters

Version:

Change case functions for all cases in TypeScript and JavaScript. Combined version of all [`case-converters`](https://github.com/cvchauhan/case-converter) methods, so you do not need to install them separately. ESM and CJS bundles are included, also bac

25 lines (24 loc) 951 B
export declare class Case { static camel(str: string): string; static capital(str: string): string; static constant(str: string): string; static dot(str: string): string; static no(str: string): string; static pascal(str: string): string; static path(str: string): string; static sentence(str: string): string; static snake(str: string): string; static train(str: string): string; static kebap(str: string): string; static sponge(str: string): string; static swap(str: string): string; static title(str: string): string; static upper(str: string): string; static localeUpper(str: string, locale: string): string; static lower(str: string): string; static localeLower(str: string, locale: string): string; static lowerFirst(str: string): string; static upperFirst(str: string): string; static isUpper(str: string): boolean; static isLower(str: string): boolean; }