index.js
async function api(endpoint, token) {
	token = token ? `&access_token=${token}` : '';
	const response = await fetch(`https://api.github.com/repos/${endpoint}${token}`);
	return response.json();
}
async function api(endpoint, token) {
	token = token ? `&access_token=${token}` : '';
	const response = await fetch(`https://api.github.com/repos/${endpoint}${token}`);
	return response.json();
}
async function api ( endpoint , token ) { token = token ? ` ${ token } ` : '' ; const response = await fetch ( ` ${ endpoint } ${ token } ` ) ; return response . json ( ) ; }
Automatically excluded in browser bundles
Automatically excluded in browser bundles