package
Tells you if a top level domain is a Google domain
npm install is-google-domainGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Tells you if a top level domain is a Google domain.
isGoogle(domain, subdomains = true)const isGoogle = require('is-google-domain')
isGoogle('google.co.jp') === true;
isGoogle('mail.google.com') === true;
isGoogle('mail.google.com', false) === false;With npm do:
npm install is-google-domainMIT © Vincent Weevers