教程 radash tutorial

camel

将字符串转换为驼峰命名格式

基本用法

给定一个字符串,以驼峰命名格式返回它。

ts
import { camel } from 'radash'

camel('green fish blue fish') // => greenFishBlueFish