- Published on
A complete reference for converting strings to camelCase in JavaScript: a one-line regex for simple cases, a robust word-splitting version that survives acronyms and mixed delimiters, the reverse conversions, and a TypeScript type that does it at the type level.
