{"size": 234, "ext": "js", "max_stars_repo_path": "src/formatMethod.js", "max_stars_repo_name": "ajbogh/vdata", "max_stars_repo_stars_event_min_datetime": "2017-08-18T16:43:12.000Z", "max_stars_repo_stars_event_max_datetime": "2017-12-12T16:43:27.000Z", "max_issues_repo_path": "src/formatMethod.js", "max_issues_repo_name": "ajbogh/vdata", "max_issues_repo_issues_event_min_datetime": "2020-07-17T11:23:14.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-22T05:49:53.000Z", "max_forks_repo_path": "src/formatMethod.js", "max_forks_repo_name": "ajbogh/vdata", "max_forks_repo_forks_event_min_datetime": "2019-08-18T08:44:51.000Z", "max_forks_repo_forks_event_max_datetime": "2019-08-18T08:44:51.000Z"}
{"max_stars_count": 5, "max_issues_count": 7, "max_forks_count": 1, "avg_line_length": 21.2727272727, "max_line_length": 50, "alphanum_fraction": 0.6282051282}
import camelCase from 'lodash/camelCase'
import capWords from './capWords'

export default (name, prefix = '') => {
  if (prefix === '') {
    return camelCase(name)
  } else {
    return `${camelCase(prefix)}${capWords(name)}`
  }
}
