UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

9 lines (6 loc) 183 B
import { words } from './words.mjs'; function kebabCase(str) { const words$1 = words(str); return words$1.map(word => word.toLowerCase()).join('-'); } export { kebabCase };