{"size": 299, "ext": "js", "max_stars_repo_path": "src/utils/camelize.js", "max_stars_repo_name": "JDureau/snips-action-raoul", "max_stars_repo_stars_event_min_datetime": "2019-02-06T14:30:34.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-06T14:30:34.000Z", "max_issues_repo_path": "src/utils/camelize.js", "max_issues_repo_name": "elbywan/snips-timer-skill", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/camelize.js", "max_forks_repo_name": "elbywan/snips-timer-skill", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.9166666667, "max_line_length": 59, "alphanum_fraction": 0.5284280936}
module.exports = {
    camelize: string => string.replace(/_\w/g, snakePart =>
        snakePart[1].toUpperCase()
    ),
    camelizeKeys: obj => {
        const clone = {}
        for(let key in obj){
            clone[module.exports.camelize(key)] = obj[key]
        }
        return clone
    }
}