npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@emailverifyio/emailverify-sdk

v1.0.0

Published

This SDK contains methods for interacting easily with EmailVerify.io API. More information about EmailVerify you can find in the official documentation.

Readme

EmailVerify JavaScript API v1

A comprehensive JavaScript wrapper class for the EmailVerify.io API v1. This provides easy-to-use methods for email validation, batch email validation, email finding and account balance.

WE DO NOT RECOMMEND USING THIS SDK ON A FRONT-END ENVIRONMENT AS THE API KEY WILL BE VISIBLE

INSTALLATION

npm install @emailverifyio/emailverify-sdk

USAGE

Add the script

<script src="<PATH_TO_SCRIPT/emailVerifySDK.js"></script>
<script>
const emailVerify = new EmailVerifySDK();
</script>

OR

Add npm module

const emailVerifySDK = require('@emailverifyio/emailverify-sdk')

const emailVerify = new emailVerifySDK();

Initialize the sdk with your api key generated from emailverify.io:

emailVerify.init("<YOUR_API_KEY>");

NOTE: all the methods are asynchronous they have to be used with async / await or .then.catch

Examples

Then you can use any of the SDK methods, for example:

  • Check How many credits you have left on your account
try {
  const balance = await emailVerify.checkAccountBalance();
} catch (error) {
  console.error(error);
}
  • Validate an email address

Validates a single email address and get detailed information about its validity.

try {
  const response = await emailVerify.validateEmail('<EMAIL_ADDRESS>'); // The email address you want to validate
} catch (error) {
  console.error(error);
}
  • Batch Email Validation

Validate emails in a single request.

const emailBatch = [
  { address: "[email protected]" },
  { address: "[email protected]" },
  { address: "[email protected]" }
];

try {
  const batchResult = await emailVerify.validateBatch("<TITLE>", emailBatch); // Title will be name of task
} catch (error) {
  console.error(error);
}

Save task_id from batchResult to retrieve results later

  • Get Batch Results

Retrieve the results of a previously submitted batch validation task.

try {
    const taskResults = await emailVerify.getBulkResults('<TASK_ID>'); //task_id you receive in validateBatch result
} catch (error) {
  console.error(error);
}
  • Email Finder

Find email addresses using a person's name and domain.

try {
   const foundEmail = await emailVerify.findEmail("<NAME>", "<DOMAIN.COM>"); 
} catch (error) {
  console.error(error);
}

Complete Example

const EmailVerifySDK = require('@emailverifyio/emailverify-sdk');

async function example() {
  const emailVerify = new EmailVerifySDK();
  emailVerify.init('<API_KEY>');

  try {
    // Check account balance
    const balance = await emailVerify.checkAccountBalance();
    console.log('Account Balance:', balance);

    // Validate single email
    const validation = await emailVerify.validateEmail('[email protected]');
    console.log('Validation Result:', validation);

    // Batch validation
    const emails = [
      { address: "[email protected]" },
      { address: "[email protected]" }
    ];

    const batch = await emailVerify.validateBatch("Test Batch", emails);
    console.log('Batch Task ID:', batch.task_id);

    // Get batch results (you might have to wait longer)
    setTimeout(async () => {
      const results = await emailVerify.getBulkResults(batch.task_id);
      console.log('Batch Results:', results);
    }, 10000);

    // Find email
    const found = await emailVerify.findEmail("John", "example.com");
    console.log('Found Email Result:', found);

  } catch (error) {
    console.error('Error:', error);
  }
}

example();

Browser Usage

The SDK can also be used in browsers

<script src="<PATH_TO_SCRIPT>/emailVerifySDK.js"></script>
<script>
  const emailVerify = new EmailVerifySDK();
  emailVerify.init('<API_KEY>');
  
  emailVerify.validateEmail('<EMAIL>')
    .then(result => console.log(result))
    .catch(error => console.error(error));
</script>

Development

After checking out the repo run tests

Test

npm test

You should see an output like this

Test Suites: 1 passed, 1 total
Tests:       12 passed, 12 total
Snapshots:   0 total
Time:        1.086 s, estimated 2 s
Ran all test suites.