Decamelize String
Install
Install all functions of strman
yarn add strman
or just the toDecamelize function
yarn add strman.todecamelize
Usage
import { toDecamelize } from 'strman'
// OR
import toDecamelize from 'strman.todecamelize'
Parameters:
Name | Type | Description |
---|---|---|
value |
String | The String! |
- Source:
Returns:
String decamelized.
- Type
- String
Example
const title = 'A Javascript string manipulation library.'
toDecamelize(title)
// => 'a_javascript_string_manipulation_library.'