{"size": 332, "ext": "js", "max_stars_repo_path": "src/ts/client/web/static/js/bundle.js", "max_stars_repo_name": "strisys/electron-express", "max_stars_repo_stars_event_min_datetime": "2021-08-06T01:52:47.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-06T01:52:47.000Z", "max_issues_repo_path": "src/ts/client/web/static/js/bundle.js", "max_issues_repo_name": "strisys/electron-express", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/ts/client/web/static/js/bundle.js", "max_forks_repo_name": "strisys/electron-express", "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": 25.5384615385, "max_line_length": 51, "alphanum_fraction": 0.7018072289}
const countElem = document.getElementById('count');
const btnElem = document.getElementById('btn');

const increment = async () => {
  const respose = (await fetch(`/count`));
  const json = (await respose.json());
  console.log(json);

  countElem.innerText = json.count;
}

btnElem.addEventListener('click', increment);
export {};