index.js
function camelCaseData(data) {
  const result = {};
  const keys = Object.keys(data);
  keys.forEach((k) => {
    const key = camelCase(k);
    const value = data[k];
    if (isObject(value)) {
      result[key] = camelCaseData(value);
    } else {
      result[key] = value;
    }
  });
  return result;
}
function camelCaseData(data) {
  const result = {};
  const keys = Object.keys(data);
  keys.forEach((k) => {
    const key = camelCase(k);
    const value = data[k];
    if (isObject(value)) {
      result[key] = camelCaseData(value);
    } else {
      result[key] = value;
    }
  });
  return result;
}
function camelCaseData ( data ) { const result = { } ; const keys = Object . keys ( data ) ; keys . forEach ( ( k ) => { const key = camelCase ( k ) ; const value = data [ k ] ; if ( isObject ( value ) ) { result [ key ] = camelCaseData ( value ) ; } else { result [ key ] = value ; } } ) ; return result ; }
Convert the data to camel case

@param {Object} data
@returns
Convert the data to camel case