1.0.2 • Published 3 years ago

temporary-email-validator v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Temporary Email Validator

Check whether an email comes from a temporary email provider like Guerrilla Mail or Temp Mail.

Install

npm i temporary-email-validator

Usage

import {isTemporaryEmail} from 'temporary-email-validator'

isTemporaryEmail('test@0-180.com') // returns true if email is temporary
isTemporaryEmail('test@gmail.com') // returns false otherwise

Acknowledgements

I got the list of temporary email providers from https://github.com/wesbos/burner-email-providers.