is-google-domain

1.0.0 • Public • Published

is-google-domain

Tells you if a top level domain is a Google domain.

npm status Travis build status AppVeyor build status Dependency status

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3,392
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3,392

Package Sidebar

Install

npm i is-google-domain

Weekly Downloads

3,392

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vweevers