{"size": 317, "ext": "js", "max_stars_repo_path": "utils/getDateString.js", "max_stars_repo_name": "arthurgarzajr/texas-vaccines", "max_stars_repo_stars_event_min_datetime": "2021-02-01T19:10:38.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-01T22:07:39.000Z", "max_issues_repo_path": "utils/getDateString.js", "max_issues_repo_name": "arthurgarzajr/texas-vaccines", "max_issues_repo_issues_event_min_datetime": "2021-02-01T18:30:06.000Z", "max_issues_repo_issues_event_max_datetime": "2021-02-28T22:16:57.000Z", "max_forks_repo_path": "utils/getDateString.js", "max_forks_repo_name": "arthurgarzajr/texas-vaccines", "max_forks_repo_forks_event_min_datetime": "2021-02-02T03:36:20.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-05T17:07:33.000Z"}
{"max_stars_count": 17, "max_issues_count": 16, "max_forks_count": 7, "avg_line_length": 28.8181818182, "max_line_length": 56, "alphanum_fraction": 0.5678233438}
module.exports = (addedDays = 0) => {
  const date = new Date();
  if (addedDays > 0) {
    date.setDate(date.getDate() + addedDays);
  }
  const day = ('0' + date.getDate()).slice(-2);
  const month = ('0' + (date.getMonth() + 1)).slice(-2);
  const year = date.getFullYear();
  return `${year}-${month}-${day}`;
};
