@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
15 lines (14 loc) • 908 B
TypeScript
export declare const vowels: string[];
export declare const pluralize: (word: string) => string;
export declare function toPluralString(word: string, count?: number): string;
export declare function snakeCase(string: string): string;
export declare function kebabCase(string: string): string;
export declare function camelCase(str: string): string;
export declare function titleCase(str: string): string;
export declare function isString(value: unknown): value is string;
export declare function capitalize<T extends string>(value: T): Capitalize<T>;
export declare function uppercase<T extends string>(value: T): Uppercase<T>;
export declare function isEmptyString(value: unknown): value is string;
export declare function isValidEmailAddress(value: unknown): boolean;
export declare function removeWhitespace(value: string): string;
export declare function removeUnquotedWhitespace(value: string): string;