UNPKG

super-utils-plus

Version:

A superior alternative to Lodash with improved performance, TypeScript support, and developer experience

20 lines (19 loc) 352 B
/** * Converts string to kebab case. * * @param string - The string to convert * @returns The kebab cased string * * @example * ```ts * kebabCase('Foo Bar'); * // => 'foo-bar' * * kebabCase('fooBar'); * // => 'foo-bar' * * kebabCase('__FOO_BAR__'); * // => 'foo-bar' * ``` */ export declare function kebabCase(string: string): string;