Function toKebabCase

  • Convert a string to kebab-case.

    Parameters

    • x: string

      a string

    • re: RegExp = null

      word seperator pattern [/[^0-9A-Za-z]+/g]

    • sep: string = "-"

      separator to join with [-]

    Returns string

    kebab-case | kebabcase

Generated using TypeDoc