pokemon-rogue-battle
    Preparing search index...

    Function toKebabCase

    • Helper method to convert a string into kebab-case (such as one used for filenames).

      Parameters

      • str: string

        The string being converted

      Returns string

      The result of converting str into kebab case.

      console.log(toKebabCase("not_kebab-caSe String")); // returns "not-kebab-case-string"