@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
12 lines (11 loc) • 379 B
TypeScript
/**
* Converts a title string into a normalized name.
*
* Note: [🔂] This function is idempotent.
*
* @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;