{"size": 212, "ext": "js", "max_stars_repo_path": "src/api.js", "max_stars_repo_name": "olcaneristi/website-next", "max_stars_repo_stars_event_min_datetime": "2020-08-17T19:24:42.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-06T14:44:58.000Z", "max_issues_repo_path": "src/api.js", "max_issues_repo_name": "olcaneristi/website-next", "max_issues_repo_issues_event_min_datetime": "2020-05-01T18:46:03.000Z", "max_issues_repo_issues_event_max_datetime": "2020-07-09T22:27:10.000Z", "max_forks_repo_path": "src/api.js", "max_forks_repo_name": "olcaneristi/website-next", "max_forks_repo_forks_event_min_datetime": "2022-01-30T06:45:35.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-30T06:45:35.000Z"}
{"max_stars_count": 3, "max_issues_count": 6, "max_forks_count": 1, "avg_line_length": 21.2, "max_line_length": 55, "alphanum_fraction": 0.6556603774}
import axios from 'axios';

const api = axios.create({
  baseURL: 'https://api.github.com/users/olcaneristi',
});

export const getRepos = async () => {
  return await api.get('/repos').then(res => res.data);
};
