@tgwf/co2
Version:
Work out the co2 of your digital services
17 lines (13 loc) • 431 B
JavaScript
;
import hostingAPI from "./hosting-api.js";
/**
* Check if a domain is hosted by a green web host.
* @param {string|array} domain - The domain to check, or an array of domains to be checked.
* @returns {boolean|array} - A boolean if a string was provided, or an array of booleans if an array of domains was provided.
*/
function check(domain) {
return hostingAPI.check(domain);
}
export default {
check,
};