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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@aspect-evp/cli

v0.1.1

Published

CLI tool for Email Verification Protocol testing and development

Readme

@aspect-evp/cli

CLI tool for Email Verification Protocol (EVP) testing and development.

npm version License: MIT

Installation

# Global installation
npm install -g @aspect-evp/cli

# Or use with npx
npx @aspect-evp/cli --help

Commands

evp test - Full Flow Simulation

Run a complete EVP flow simulation:

# Basic test
evp test

# Custom parameters
evp test --email [email protected] --issuer mail.google.com --origin https://myapp.com

# Verbose output
evp test -v

# JSON output
evp test -j

evp keygen - Generate Key Pairs

Generate signing keys for an EVP issuer:

# Generate EdDSA key pair (recommended)
evp keygen

# Specify algorithm
evp keygen --algorithm ES256

# With custom key ID
evp keygen --kid 2024-01-signing-key

# JSON output (for piping)
evp keygen -j > keys.json

evp dns - DNS Lookup

Check if a domain has EVP DNS records:

# Lookup EVP record
evp dns gmail.com

# Use Node.js DNS resolver
evp dns gmail.com --resolver node

# JSON output
evp dns gmail.com -j

evp inspect - Token Inspection

Decode and inspect an EVP token without verification:

# Inspect a token
evp inspect "eyJhbGciOiJFZERTQSJ9..."

# From file
evp inspect ./token.txt

# JSON output
evp inspect ./token.txt -j

evp issue - Issue Tokens

Issue an SD-JWT token for testing:

# Issue token
evp issue --email [email protected] --issuer mail.example.com --key ./private-key.json

# JSON output
evp issue -e [email protected] -i mail.example.com -k ./key.json -j

evp verify - Verify Tokens

Verify an SD-JWT+KB token:

# Verify with local JWKS
evp verify --token ./token.txt --nonce abc123 --origin https://myapp.com --jwks ./jwks.json

# Verify online (fetches JWKS from issuer)
evp verify -t ./token.txt -n abc123 -o https://myapp.com --issuerUrl https://mail.example.com

Examples

Complete Test Flow

# 1. Run the test simulation
evp test -v

# Output:
# ✓ Generate test keys
# ✓ Configure mock DNS
# ✓ Generate session nonce
# ✓ Issue SD-JWT token
# ✓ Create Key Binding JWT
# ✓ Verify SD-JWT+KB token
#
# Verification Result:
#   Email: [email protected]
#   Issuer: issuer.example.com
#   Issued At: 2024-01-15T10:30:00.000Z

Generate Keys for Production

# Generate and save keys
evp keygen -j > keys.json

# Extract public key for JWKS
cat keys.json | jq '.publicKey' > public-key.json

Check Domain Support

# Check if Gmail supports EVP
evp dns gmail.com

# Check multiple domains
for domain in gmail.com outlook.com yahoo.com; do
  evp dns $domain -j
done

Programmatic Usage

import { testCommand } from '@aspect-evp/cli';

// Commands can be imported and used programmatically
// Useful for building custom tooling

License

MIT