clear-af.js
    Preparing search index...

    Function kebabify

    • Function

      Transform a string to kebab-case format

      Parameters

      • str: string

        The string to transform

      Returns string

      The string in kebab-case format

      kebabify("hello world");       // "hello-world"
      kebabify("C'est un test"); // "ceststun-test"
      kebabify("foo bar baz"); // "foo-bar-baz"