@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
8 lines (7 loc) • 453 B
TypeScript
export declare const toKebabCase: (str: string) => string;
export declare const toSnakeCase: (str: string) => string;
export declare function randomString(strLength?: number): string;
export declare function randomColor(): string;
export declare function slugify(text?: string, separator?: string, lowercase?: boolean): string;
export declare function unslugify(slug?: string): string;
export declare function prettifyIdentifier(input: string): string;