temporary-email-validator
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i temporary-email-validator

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.67 MB

    Total Files

    6

    Last publish

    Collaborators

    • meronogbai