This project is an extension of
camelcase-key
Convert object keys recursivly to camelCase using
camelcase
$ npm install --save camelcase-object
const camelcaseObject = require('camelcase-object');
camelcaseObject({'foo-bar': true});
//=> {fooBar: true}
camelcaseObject({'foo-bar': {'bar-foo' : true});
//=> {fooBar: {barFoo:true}
camelcaseObject({'foo-bar': {'bar-foo' : [{'Test': true}]}});
//=> {fooBar: {barFoo:[{test:true}]}