@promptbook/browser
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
10 lines (9 loc) • 351 B
TypeScript
/**
* Converts a name string into a URI-compatible format.
*
* @param name The string to be converted to a URI-compatible format.
* @returns A URI-compatible string derived from the input name.
* @example 'Hello World' -> 'hello-world'
* @public exported from `@promptbook/utils`
*/
export declare function nameToUriPart(name: string): string;