Tells you if a top level domain is a Google domain
npm install is-google-domainisGoogle(domain, subdomains = true)js
const isGoogle = require('is-google-domain')
isGoogle('google.co.jp') === true;
isGoogle('mail.google.com') === true;
isGoogle('mail.google.com', false) === false;
`
install
With npm do:
`
npm install is-google-domain
``