UNPKG

@sapphire/utilities

Version:
14 lines (12 loc) 339 B
/** * Transforms text from `snAkE_cASE` to `camelCase`. * @param str - Text to transform * @returns the input `st_R` as `stR` * * @example * ```ts * snakeToCamelCase('hello_world') // 'helloWorld' * ``` */ declare function snakeToCamelCase(str: string): string; export { snakeToCamelCase as kebabToCamelCase, snakeToCamelCase };