toCamel
Converts a kebab case string to camel case.
Usage
ts
import { toCamel } from '@screaming/utils'
toCamel('ribbit-ribbit')
// 'ribbitRibbit'
1
2
3
4
2
3
4
Type Definitions
ts
/**
* @param str - The kebab case string.
* @returns The camel case string.
*/
export declare function toCamel(str: string): string
1
2
3
4
5
2
3
4
5