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

email-audit

v1.0.4

Published

Lightweight email validation and fraud detection library.

Readme

Email Audit

Lightweight email validation and fraud detection library.

Features

  • Email validation: RFC5322 compliance check
  • Detects fake or throwaway emails (temporary or high-entropy patterns)
  • Identifies role-based or shared inboxes like info@, admin@, support@
  • Separator and alias checks
  • Checks composition for unnatural or auto-generated addresses
  • Lightweight, dependency-free, and fast
  • Ideal for user signup validation, form submissions, and anti-fraud systems

Installation

Via NPM:

npm install email-audit

Via Yarn:

yarn add email-audit

Quick Start

import inspect from "email-audit"

const result = inspect("[email protected]")

console.log(result)

Output

{
  suspicious: true,
  threats: [ 
    'email_local_sep_high_density', 
    'email_tag_suspicious' 
  ]
}

What It Detects

| Code | Description | | ------------------------------ |--------------------------------------------------------------------| | email_not_valid | Email syntax fails RFC5322 validation | | email_local_not_found | Local part is missing before the @ | | email_local_too_short | Local part is unusually short (<2) | | email_local_too_long | Local part exceeds allowed length (>30) | | email_local_digits_only | Local part contains only digits | | email_local_high_digit_ratio | Too many digits compared to letters | | email_local_consec_digits5 | Contains ≥5 consecutive digits | | email_local_lacks_vowels | Local part has no vowels (often synthetic) | | email_local_high_entropy | Random-looking local part (high entropy) | | email_local_repeated_chars | Repeated or unnatural character patterns | | email_local_mixed_scripts | Contains characters from multiple alphabets (e.g. Latin + Cyrillic) | | email_local_emoji | Contains emoji or non-standard symbols | | email_local_sep_abuse | Too many separators (., _, -) | | email_local_double_sep | Contains repeated separators (.., __, --) | | email_local_sep_high_density | Separator density too high for a normal name | | email_role_generic | Role-based or shared inbox (e.g. admin@, support@) | | email_is_alias | The email is an alias of another address (e.q. j.o.h.n@gmail is an alias of [email protected]) | | email_tag_suspicious | Alias tag (+something) appears random or high-entropy |

Individual Helpers

You can import and run specific checks directly:

import {
    validateEmail,
    checkGenericRole,
    checkComposition,
    checkSeparator,
    checkSuspiciousTag,
	checkIfAlias
} from "email-audit"

Each helper returns an array of triggered issue codes or an empty array.

License

MIT © 2025 Gatekeepr.

About

email-audit is an open-source component of Gatekeepr, a privacy-first API that blocks fake users and platform abuse by analyzing emails, IPs, domains, and user agents in real time.