{"size": 200, "ext": "js", "max_stars_repo_path": "es6/helpers/toLabel.js", "max_stars_repo_name": "fnando/use-form", "max_stars_repo_stars_event_min_datetime": "2019-12-18T12:51:29.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-24T05:38:33.000Z", "max_issues_repo_path": "es6/helpers/toLabel.js", "max_issues_repo_name": "fnando/use-form", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "es6/helpers/toLabel.js", "max_forks_repo_name": "fnando/use-form", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.3333333333, "max_line_length": 76, "alphanum_fraction": 0.595}
export function toLabel(attribute) {
    return attribute
        .replace(/_/g, " ")
        .replace(/([A-Z]+)/g, (_match, group) => ` ${group.toLowerCase()}`);
}
//# sourceMappingURL=toLabel.js.map