deep-case-crafter
Version:
Transforms deeply nested object, array, Map, and Set keys between common case formats while preserving TypeScript type safety
15 lines (14 loc) • 435 B
TypeScript
/**
* Converts a snake_case string to camelCase
* Core transformation function without special character handling
*
* @param str - The snake_case string to convert
* @returns The camelCase transformed string
*
* @example
* ```typescript
* snakeToCamelCase('hello_world') // => 'helloWorld'
* ```
* @internal This function is for internal use by the library
*/
export default function snakeToCamelCase(str: string): string;