Join words into a single string with the specified case
import { joinWords } from 'string'joinWords(['hello', 'world'], 'kebab-case') // => 'hello-world'joinWords(['hello', 'world'], 'snake_case') // => 'hello_world' Copy
import { joinWords } from 'string'joinWords(['hello', 'world'], 'kebab-case') // => 'hello-world'joinWords(['hello', 'world'], 'snake_case') // => 'hello_world'
Join words into a single string with the specified case