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

@verifio/email-verification

v1.0.1

Published

Official Node.js SDK for Verifio email verification

Readme

@verifio/email-verification

Official Node.js SDK for Verifio email verification.

Installation

npm install @verifio/email-verification
# or
yarn add @verifio/email-verification
# or
bun add @verifio/email-verification

Quick Start

import { Verifio } from '@verifio/email-verification';

const verifio = new Verifio({
  apiKey: 'your-api-key'
});

// Verify an email
const result = await verifio.verify('[email protected]');

console.log(result.state);  // 'deliverable' | 'undeliverable' | 'risky' | 'unknown'
console.log(result.score);  // 0-100

Configuration

const verifio = new Verifio({
  apiKey: 'your-api-key',      // Required
  baseUrl: 'https://verifio.email'  // Optional, defaults to https://verifio.email
});

API Reference

Single Email Verification

const result = await verifio.verify('[email protected]');

// With options
const result = await verifio.verify('[email protected]', {
  skipDisposable: false,  // Include disposable check
  skipRole: false,        // Include role-based check
  skipTypo: false         // Include typo suggestion
});

// Result structure
{
  email: '[email protected]',
  state: 'deliverable',      // Primary verdict
  score: 95,                 // Quality score (0-100)
  reason: 'valid_mailbox',
  checks: {
    syntax: { valid: true },
    dns: { valid: true, hasMx: true, mxRecords: ['...'] },
    disposable: { isDisposable: false },
    role: { isRole: false },
    freeProvider: { isFree: false },
    typo: { hasTypo: false },
    smtp: { valid: true, mailboxExists: true }
  },
  analytics: {
    riskLevel: 'low',
    qualityIndicators: ['has_mx', 'valid_syntax'],
    warnings: []
  }
}

Bulk Verification

// Start bulk job
const job = await verifio.bulk.verify([
  '[email protected]',
  '[email protected]',
  '[email protected]'
]);

console.log(job.id);     // Job ID
console.log(job.status); // 'pending' | 'processing' | 'completed' | 'failed'

// Check job status
const status = await verifio.bulk.getJob(job.id);
console.log(status.processedEmails, '/', status.totalEmails);

// Get results when completed
const results = await verifio.bulk.getResults(job.id, {
  page: 1,
  limit: 50
});

results.items.forEach(r => {
  console.log(r.email, r.state, r.score);
});

Verification History

const history = await verifio.history.list({
  page: 1,
  limit: 20
});

console.log(`Total: ${history.pagination.total}`);

history.items.forEach(result => {
  console.log(result.email, result.state);
});

Error Handling

import {
  Verifio,
  AuthenticationError,
  InsufficientCreditsError,
  RateLimitError,
  VerifioError
} from '@verifio/email-verification';

try {
  const result = await verifio.verify('[email protected]');
} catch (error) {
  if (error instanceof AuthenticationError) {
    console.error('Invalid API key');
  } else if (error instanceof InsufficientCreditsError) {
    console.error(`Not enough credits. Remaining: ${error.remaining}`);
  } else if (error instanceof RateLimitError) {
    console.error('Rate limited. Try again later.');
  } else if (error instanceof VerifioError) {
    console.error('API error:', error.message);
  }
}

TypeScript Support

Full TypeScript support with exported types:

import type {
  VerificationResult,
  VerificationState,
  BulkVerificationJob,
  VerifyOptions
} from '@verifio/email-verification';

Requirements

  • Node.js >= 18.0.0

License

MIT

Support

  • Documentation: https://verifio.email/docs
  • Issues: https://github.com/reloop-labs/verifio/issues