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 { camelCase as camelCase$1 } from '../../string/camelCase.mjs'; import { normalizeForCase } from '../_internal/normalizeForCase.mjs'; function camelCase(str) { return camelCase$1(normalizeForCase(deburr(str))); } export { camelCase };