UNPKG

@promptbook/vercel

Version:

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

24 lines (23 loc) 649 B
/** * Semantic helper for kebab-case strings * * @example 'hello-world' * @example 'i-love-promptbook' * @public exported from `@promptbook/utils` */ export type string_kebab_case = string; /** * Converts a given text to kebab-case format. * * Note: [🔂] This function is idempotent. * * @param text The text to be converted. * @returns The kebab-case formatted string. * @example 'hello-world' * @example 'i-love-promptbook' * @public exported from `@promptbook/utils` */ export declare function normalizeToKebabCase(text: string): string_kebab_case; /** * Note: [💞] Ignore a discrepancy between file name and entity name */