UNPKG

@promptbook/utils

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

10 lines (9 loc) 331 B
/** * Converts a title string into a normalized name. * * @param value The title string to be converted to a name. * @returns A normalized name derived from the input title. * @example 'Hello World!' -> 'hello-world' * @public exported from `@promptbook/utils` */ export declare function titleToName(value: string): string;