index.d.ts 598 B

12345678910
  1. declare function isUppercase(char?: string): boolean;
  2. declare function splitByCase(str: string, splitters?: string[]): string[];
  3. declare function upperFirst(str: string): string;
  4. declare function lowerFirst(str: string): string;
  5. declare function pascalCase(str?: string | string[]): string;
  6. declare function camelCase(str?: string | string[]): string;
  7. declare function kebabCase(str?: string | string[], joiner?: string): string;
  8. declare function snakeCase(str?: string | string[]): string;
  9. export { camelCase, isUppercase, kebabCase, lowerFirst, pascalCase, snakeCase, splitByCase, upperFirst };