# is-google-domain

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

Latest version **1.0.0** (published 2016-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-google-domain
pnpm add is-google-domain
yarn add is-google-domain
bun add is-google-domain
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-06-06 |
| First published | 2016-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vincent Weevers |
| Maintainers | vweevers |
| Keywords | google, tld |

## Links

- npm: https://www.npmjs.com/package/is-google-domain
- Repository: https://github.com/vweevers/is-google-domain
- Issues: https://github.com/vweevers/is-google-domain/issues
- npm.io page: https://npm.io/package/is-google-domain

## Recent versions

- 1.0.0 (latest) — 2016-06-06

## README

# is-google-domain

**Tells you if a top level domain is a Google domain.**

[![npm status](http://img.shields.io/npm/v/is-google-domain.svg?style=flat-square)](https://www.npmjs.org/package/is-google-domain) [![Travis build status](https://img.shields.io/travis/vweevers/is-google-domain.svg?style=flat-square&label=travis)](http://travis-ci.org/vweevers/is-google-domain) [![AppVeyor build status](https://img.shields.io/appveyor/ci/vweevers/is-google-domain.svg?style=flat-square&label=appveyor)](https://ci.appveyor.com/project/vweevers/is-google-domain) [![Dependency status](https://img.shields.io/david/vweevers/is-google-domain.svg?style=flat-square)](https://david-dm.org/vweevers/is-google-domain)

## `isGoogle(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](https://npmjs.org) do:

```
npm install is-google-domain
```

## license

[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers

---
_Source: https://npm.io/package/is-google-domain · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
