UNPKG

@tgwf/co2

Version:
17 lines (13 loc) 431 B
"use strict"; 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, };