UNPKG

codetrix

Version:

A lightweight lodash-style utility library

11 lines (10 loc) 242 B
/** * Converts a string to kebab-case format. * * @param str - The input string. * @returns The kebab-cased string. * * @example * kebabCase('Hello World!'); // 'hello-world' */ export declare function kebabCase(str: string): string;