UNPKG

@promptbook/openai

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

20 lines (19 loc) 567 B
/** * Semantic helper for snake_case strings * * @example 'hello_world' * @example 'i_love_promptbook' */ export type string_snake_case = string; /** * Normalizes a text string to snake_case format. * * Note: [🔂] This function is idempotent. * * @param text The text string to be converted to snake_case format. * @returns The normalized text in snake_case format. * @example 'hello_world' * @example 'i_love_promptbook' * @public exported from `@promptbook/utils` */ export declare function normalizeTo_snake_case(text: string): string_snake_case;