{"size": 378, "ext": "js", "max_stars_repo_path": "src/main/resources/public/easyhtml.js", "max_stars_repo_name": "StockStreamLive/StockStreamLegacy", "max_stars_repo_stars_event_min_datetime": "2018-03-21T19:28:37.000Z", "max_stars_repo_stars_event_max_datetime": "2018-07-20T17:19:42.000Z", "max_issues_repo_path": "src/main/resources/public/easyhtml.js", "max_issues_repo_name": "StockStreamLive/StockStreamLegacy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/main/resources/public/easyhtml.js", "max_forks_repo_name": "StockStreamLive/StockStreamLegacy", "max_forks_repo_forks_event_min_datetime": "2018-05-23T19:47:23.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-08T18:48:18.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 29.0769230769, "max_line_length": 114, "alphanum_fraction": 0.5714285714}

function numberWithCommas(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}

function constructElement(tag, id, classNamesList, text) {
    return "<" + tag + " id=\"" + id + "\" class=\"" + classNamesList.join(" ") + "\">" + text + "</" + tag + ">";
}

function createDiv(id, classNames, text) {
    return constructElement("div", id, classNames, text);
}
