UNPKG

@promptbook/langtail

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

22 lines (21 loc) 510 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; /** * @@@ * * @param text @@@ * @returns @@@ * @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 */