rendrr-disposable-email-list
v1.0.7
Published
Disposable email checker, Wide range of disposable email providers list
Downloads
5
Readme
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('[email protected]');
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("[email protected]");
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("[email protected]");
// 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("[email protected]");
// 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.