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

alpinemail

v0.1.0

Published

GDPR-compliant email validation API - European alternative to ZeroBounce, NeverBounce

Readme

alpinemail

GDPR-compliant email validation API for Node.js. European alternative to ZeroBounce, NeverBounce.

Austrian company | Servers in Germany | Data never leaves EU

npm TypeScript License: MIT

Features

  • MX record validation
  • SMTP deliverability check
  • Disposable email detection (10k+ domains)
  • AI fraud scoring (gibberish, keyboard walks)
  • Role account detection (info@, support@, etc.)
  • Catch-all detection
  • Automatic retries with exponential backoff
  • Full TypeScript support
  • Zero dependencies
  • Node.js 18+

Installation

npm install alpinemail

Quick Start

import { validateEmail } from 'alpinemail';

const result = await validateEmail('[email protected]', {
  apiKey: process.env.ALPINEMAIL_API_KEY,
});

console.log(result);
// {
//   valid: true,
//   email: '[email protected]',
//   score: 0.95,
//   disposable: false,
//   risk: 'low',
//   reason: 'valid',
//   catchAll: false,
//   roleAccount: false
// }

Client Usage

For multiple validations, create a client instance:

import { AlpineMail } from 'alpinemail';

const client = new AlpineMail({
  apiKey: process.env.ALPINEMAIL_API_KEY,
  timeout: 15000, // optional, default 10000ms
  retries: 3,     // optional, default 2
});

// Basic validation
const result = await client.validate('[email protected]');

// With fraud detection context
const result = await client.validate('[email protected]', {
  name: 'John Doe',           // helps detect name/email mismatches
  checks: ['basic', 'fraud'], // default
  context: {},                // additional context
});

// Health check
const health = await client.healthCheck();
console.log(health.latency);   // 42

Error Handling

import {
  AlpineMail,
  AuthenticationError,
  RateLimitError,
  TimeoutError,
  NetworkError,
  ValidationError,
} from 'alpinemail';

const client = new AlpineMail({ apiKey: 'invalid' });

try {
  await client.validate('[email protected]');
} catch (error) {
  if (error instanceof AuthenticationError) {
    console.error('Invalid API key');
  } else if (error instanceof RateLimitError) {
    console.error(`Rate limited. Retry after ${error.retryAfter}s`);
  } else if (error instanceof TimeoutError) {
    console.error('Request timed out');
  } else if (error instanceof NetworkError) {
    console.error('Network error:', error.message);
  } else if (error instanceof ValidationError) {
    console.error(`Invalid ${error.field}: ${error.message}`);
  }
}

Request Cancellation

const controller = new AbortController();

// Cancel after 5 seconds
setTimeout(() => controller.abort(), 5000);

try {
  await client.validate('[email protected]', {
    signal: controller.signal,
  });
} catch (error) {
  if (error instanceof TimeoutError) {
    console.error('Request was cancelled');
  }
}

Response Fields

| Field | Type | Description | |-------|------|-------------| | valid | boolean | Whether email is deliverable | | email | string | Normalized email address | | score | number | Quality score 0-1 (higher is better) | | disposable | boolean | Is temporary/disposable email | | risk | 'low' | 'medium' | 'high' | Overall risk level | | reason | string | Validation result reason | | catchAll | boolean | Domain accepts all emails | | roleAccount | boolean | Is role account (info@, etc.) | | mxRecords | string[] | MX records found (optional) |

Validation Reasons

| Reason | Description | |--------|-------------| | valid | Email is valid and deliverable | | invalid_format | Email format is invalid | | invalid_mx | No valid MX records found | | invalid_smtp | SMTP check failed | | disposable_domain | Known disposable email domain | | role_account | Generic role account detected | | gibberish | Random/gibberish local part | | keyboard_walk | Keyboard pattern detected (qwerty, etc.) | | catch_all | Domain accepts all emails | | unknown | Could not determine validity |

Configuration

| Option | Type | Default | Description | |--------|------|---------|-------------| | apiKey | string | required | Your API key | | baseUrl | string | https://api.alpinemail.at | API base URL | | timeout | number | 10000 | Request timeout in ms | | retries | number | 2 | Retry attempts | | retryDelay | number | 1000 | Base retry delay in ms |

Security

Never commit API keys to version control.

Use environment variables:

export ALPINEMAIL_API_KEY=your-api-key

Or .env file with dotenv:

ALPINEMAIL_API_KEY=your-api-key

Get API Key

Sign up at alpinemail.at to get your API key.

Pricing: 100 free validations/month, then 0.01/request.

Support

License

MIT © Sync Motion GmbH