is-google-domain
v1.0.0
Published
Tells you if a top level domain is a Google domain
Downloads
10,179
Readme
is-google-domain
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;
install
With npm do:
npm install is-google-domain
license
MIT © Vincent Weevers