@everapi/emailvalidation-js

1.0.6 • Public • Published

emailvalidation-js: Email Validation & Verification API for JavaScript

This package is a JavaScript wrapper for emailvalidation.io that aims to make the usage of the API as easy as possible in your project. Emailvalidation.io offers a graphical user interface for manual bulk email validation, but also provides a REST API for full developer flexibility. Additionally, emailvalidation.io provides plenty of one-click integrations with common email marketing providers.

Installation

npm

npm install --save @everapi/emailvalidation-js

yarn

yarn add @everapi/emailvalidation-js

Import

import Emailvalidation from '@everapi/emailvalidation-js';

or use it directly in a Browser:

<script src="path/to/emailvalidation-js/index.js"></script>

Usage

Initialize the API with your API Key (get one for free at emailvalidation.io):

const emailvalidation = new Emailvalidation('YOUR-API-KEY');

Afterwards you can make calls to the API like this:

emailvalidation.info('john@doe.com', {
        catch_all: 1
    }).then(response => {
        console.log(response);
    });

Find out more about our endpoints, parameters and response data structure in the docs

License

The MIT License (MIT). Please see License File for more information.

Package Sidebar

Install

npm i @everapi/emailvalidation-js

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

4.18 kB

Total Files

5

Last publish

Collaborators

  • everapi-user