Skip to content

Commit

Permalink
create hosting module
Browse files Browse the repository at this point in the history
  • Loading branch information
fershad committed Sep 10, 2024
1 parent 2dd34ec commit 2962ca1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/hosting.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import hostingAPI from "./hosting-api.js";

/**
* @module hosting
*/

/**
* 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.
Expand All @@ -17,6 +21,4 @@ function check(domain, optionsOrAgentId) {
return hostingAPI.check(domain, optionsOrAgentId);
}

export default {
check,
};
export default check;

0 comments on commit 2962ca1

Please sign in to comment.