{"size": 144, "ext": "js", "max_stars_repo_path": "src/main/webapp/js/max-chars.js", "max_stars_repo_name": "vemaeg/urlaubsverwaltung", "max_stars_repo_stars_event_min_datetime": "2019-10-22T10:44:39.000Z", "max_stars_repo_stars_event_max_datetime": "2019-10-22T10:44:39.000Z", "max_issues_repo_path": "src/main/webapp/js/max-chars.js", "max_issues_repo_name": "vemaeg/urlaubsverwaltung", "max_issues_repo_issues_event_min_datetime": "2021-03-15T19:47:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-15T19:48:18.000Z", "max_forks_repo_path": "src/main/webapp/js/max-chars.js", "max_forks_repo_name": "vemaeg/urlaubsverwaltung", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 24.0, "max_line_length": 52, "alphanum_fraction": 0.6875}
export default function maxChars(element, max) {
  if (element.value.length > max) {
    element.value = element.value.substring(0, max);
  }
}
