UNPKG

es-toolkit

Version:

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

10 lines (7 loc) 287 B
import { deburr } from './deburr.mjs'; import { kebabCase as kebabCase$1 } from '../../string/kebabCase.mjs'; import { normalizeForCase } from '../_internal/normalizeForCase.mjs'; function kebabCase(str) { return kebabCase$1(normalizeForCase(deburr(str))); } export { kebabCase };