{"size": 240, "ext": "js", "max_stars_repo_path": "app/scripts/utils/fetchTimeline.js", "max_stars_repo_name": "themushmouth/mushmouth.tech", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/scripts/utils/fetchTimeline.js", "max_issues_repo_name": "themushmouth/mushmouth.tech", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/scripts/utils/fetchTimeline.js", "max_forks_repo_name": "themushmouth/mushmouth.tech", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.8181818182, "max_line_length": 65, "alphanum_fraction": 0.6375}
const fetchTimeline = url => fetch(url, {
  method: 'GET',
  headers: {
    Accept: 'application/atom+xml',
  },
})
  .then(res => res.text())
  .then(str => new DOMParser().parseFromString(str, 'text/xml'));

export default fetchTimeline;
