# email-format-checker

> The email-format-checker will check email addresses for these to have a valid format

Latest version **0.0.8** (published 2019-10-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install email-format-checker
pnpm add email-format-checker
yarn add email-format-checker
bun add email-format-checker
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2019-10-13 |
| First published | 2019-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | x37ts52 |
| Maintainers | x37ts52 |
| Keywords | email, format, checker, validator |

## Links

- npm: https://www.npmjs.com/package/email-format-checker
- Repository: https://github.com/x37ts52/email-format-checker
- Homepage: https://github.com/x37ts52/email-format-checker#readme
- Issues: https://github.com/x37ts52/email-format-checker/issues
- npm.io page: https://npm.io/package/email-format-checker

## 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

- 0.0.8 (latest) — 2019-10-13
- 0.0.7 — 2019-10-10
- 0.0.6 — 2019-10-10
- 0.0.5 — 2019-10-10
- 0.0.4 — 2019-10-10
- 0.0.3 — 2019-10-10
- 0.0.2 — 2019-10-10
- 0.0.1 — 2019-10-10

## README

# email-format-checker

## What is this?

The email-format-checker will check email addresses for these to have a valid format

## Install

```javascript
npm i email-format-checker
```

## How to use it?

```javascript
const emailFormatChecker = require('email-format-checker')

// use the object to interact with the module
const options = {
  email: 'maxmustermann@beispiel.de',
  emailRepeat: 'maxmustermann@beispiel.de'
}

// fire the object with the function
const validEmailAddress = emailFormatChecker(options)

// console output for testing: boolean
console.log(validEmailAddress)
```

## Options (input / output)

### Input

| Parameter   | Type   | Description                                             |
| ----------- | ------ | ------------------------------------------------------- |
| email       | string | The email address wich will be checked                  |
| emailRepeat | string | The repeating email address to check for spell mistakes |

### Output

| Type    | Description            |
| ------- | ---------------------- |
| boolean | Return a true or false |

## What will be checked?

1. Email address can not be empty
2. It compares whether email and emailRepeat are alike
3. Email adress will be checked if there is an at-sign and a dot

## License

MIT

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