shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
camelCaseProps
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.object
This function simply take an object as argument and return the same one but with properties in camel case.
Params
- object*-Object
An object on which to apply the camel case treatment
- settings{}IApplyScopeSettings
Some settings to configure your scope application process
Example
import { camelCaseProps } from '@blackbyte/sugar/object';
camelCaseProps({
'hello-world': true
});
// {
// helloWorld: true
// }Settings
- deeptrueBoolean
Specify if you want to apply the treatment deep in the object or just in the first level
Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space