UNPKG

@diagramers/cli

Version:

Diagramers CLI - Command-line tools for managing Diagramers projects

37 lines 925 B
export declare class NamingUtils { private static irregularPlurals; private static irregularSingulars; /** * Convert singular to plural with proper rules */ static pluralize(word: string): string; /** * Convert plural to singular with proper rules */ static singularize(word: string): string; /** * Convert to camelCase */ static toCamelCase(str: string): string; /** * Convert to PascalCase */ static toPascalCase(str: string): string; /** * Convert to snake_case */ static toSnakeCase(str: string): string; /** * Convert to kebab-case */ static toKebabCase(str: string): string; /** * Check if character is a vowel */ private static isVowel; /** * Preserve the case pattern of the original word */ private static preserveCase; } //# sourceMappingURL=naming-utils.d.ts.map