# is-gmail

> Check if an given email is gmail or GSuit email.

Latest version **1.0.0** (published 2021-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-gmail
pnpm add is-gmail
yarn add is-gmail
bun add is-gmail
```

## 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 | 2021-08-08 |
| First published | 2015-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | nswbmw |
| Keywords | email, gmail, google, googlemail, mx, google apps |

## Links

- npm: https://www.npmjs.com/package/is-gmail
- Repository: https://github.com/nswbmw/is-gmail
- Homepage: https://github.com/nswbmw/is-gmail#readme
- Issues: https://github.com/nswbmw/is-gmail/issues
- npm.io page: https://npm.io/package/is-gmail

## Dependencies (1)

- [check-email-valid](https://npm.io/package/check-email-valid.md) 1.0.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-08-08
- 0.1.1 — 2021-08-08
- 0.1.0 — 2015-04-29

## README

## is-gmail

Check if an given email is gmail or GSuit email.

### Install

```
npm i is-gmail --save
```

### Usage

```
const isGmail = require('is-gmail')

;(async function () {
  console.log(await isGmail('example@gmail.com')) // true
  console.log(await isGmail('example@google.com')) // true
  console.log(await isGmail('example@googlemail.com')) // true
  console.log(await isGmail('example@github.com')) // true

  console.log(await isGmail('example@126.com')) // false
  console.log(await isGmail('example@qq.com')) // false
  console.log(await isGmail('example@example.com')) // false
})()
```

### Test

```
npm test
```

### License

MIT

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