Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

rendrr-disposable-email-list

1.0.7 • Public • Published

Disposable Email List

Hunt down every disposable email. Probabily the most reliable email check which can detect disposable email and trash them out of your marketing database, So you don't end up paying for un-neccesary junk.

Check with the list of more than 38,000 temp email provider domains for the validation. We update the list frequently, Help us getting stronger. Contribute to our GitHub repository to keep the list up-to-date.

Install

npm i rendrr-disposable-email-list

Methods

Import the module to the file

var disposableEmail = require('rendrr-disposable-email-list');

Standard Method

var result = disposableEmail.isDisposable('dummy@temp-email.tld');

or you can use domain name also

var result = disposableEmail.isDisposable('temp-email.tld');

Standard Response format

{ 
	isEmail: true, //or false
	isDomain: false,  //or true
	isDisposable: false //or true
	isWebmail: false //or true
}

Additional Methods

isValidEmail

Checking the string with Regular Expression

You can check the given string is a valid email with ignoring other test cases. you can provide either domain name or email address to validate

let res = this.isValidEmail("dummy@temp-email.tld");

Response Format

Success
{ isEmail: true }
Error
{ isEmail: false }

isValidDomain

Checking the string with Regular Expression

You can check the given string is a valid domain with validating whether its a valid email or not. you can provide either domain name or email address to validate

let res = this.isValidDomain("dummy@temp-email.tld");
// or
let res = this.isValidDomain("temp-email.tld");

Response Format

{ isEmail: true, isDomain: true }

isValidWebmail

Checking the string with Regular Expression and compare our list

You can check the given string is a valid domain with validating whether its a valid email and webmail or not. you can provide either domain name or email address to validate.

let res = this.isValidWebmail("dummy@temp-email.tld");
// or
let res = this.isValidWebmail("temp-email.tld");

Response Format

{ isEmail: true, isDomain: true, isWebmail: true }

License

Copyright 2019 Rendrr Devign Labs

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Install

npm i rendrr-disposable-email-list

DownloadsWeekly Downloads

1

Version

1.0.7

License

Apache-2.0

Unpacked Size

671 kB

Total Files

7

Last publish

Collaborators

  • avatar