ts-playground
    Preparing search index...
    • Join words into a single string with kebab case

      Parameters

      • words: string[]

      Returns string

      import { intoKebabCase } from 'string'
      intoKebabCase(['hello', 'world']) // => 'hello-world'