codetrix - v1.5.0
    Preparing search index...

    Function kebabCase

    • Converts a string to kebab-case format.

      Parameters

      • str: string

        The input string.

      Returns string

      The kebab-cased string.

      kebabCase('Hello World!'); // 'hello-world'