Transform to camelCase.
Install
Install all functions of strman
yarn add strman
or just the toCamelCase function
yarn add strman.tocamelcase
Usage
import { toCamelCase } from 'strman'
// OR
import toCamelCase from 'strman.tocamelcase'
Parameters:
Name | Type | Description |
---|---|---|
value |
String | The String! |
- Source:
Returns:
String in camelCase.
- Type
- String
Example
const title = 'A Javascript string manipulation library.'
toCamelCase(title)
// => 'aJavascriptStringManipulationLibrary'