const GitHubClient = axios.create({
baseURL: 'https://api.GitHub.com/',
timeout: 1000,
headers: {
'Accept': 'application/vnd.GitHub.v3+json',
//'Authorization': 'token <your-token-here> -- https://docs.GitHub.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token'
}
});
const response = await GitHubClient.get(`search/users?q=followers:>${noOfFollowers}&per_page=${perPage}`, {timeout: 1500});