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

@edycutjong/lethe-cli

v1.0.4

Published

Lethe Command Line Interface for Data Protection Officers

Downloads

362

Readme

Lethe CLI (@edycutjong/lethe-cli)

Command-line interface for Data Protection Officers (DPOs) and power users to manage GDPR/CCPA right-to-erasure campaigns. Wraps the @edycutjong/lethe-sdk to provide terminal access to broker registration, batch deletion, receipt verification, and performance benchmarking.

Commands

lethe register — Register a Data Broker Template

lethe register --broker-id zoominfo-mock --template ./data/fixtures/broker-template.json

Registers a new broker egress template with the coordinator agent. The template JSON should contain host, path, and template fields.

lethe erase — Trigger Deletion Campaign

lethe erase \
  --email [email protected] \
  --ssn 999-88-7777 \
  --brokers zoominfo-mock,whitepages-mock,spokeo-mock

Executes the full erasure pipeline:

  1. Generates a Groth16 ZK proof of identity ownership
  2. Encrypts PII into an ECIES envelope using the enclave's public key
  3. Simulates x402 micropayment challenge
  4. Enqueues the campaign with the coordinator agent
  5. Fires deletion webhooks for each target broker
  6. Saves signed VC receipts to ./receipts/<broker-id>-proof.json

lethe verify-vc — Verify a Deletion Receipt

lethe verify-vc --receipt ./receipts/zoominfo-mock-proof.json

Cryptographically validates a signed Verifiable Credential receipt against the Lethe enclave signer authority. Displays broker, status, and timestamp.

lethe bench — Performance Benchmarks

lethe bench --runs 100 --concurrency 5

Runs latency benchmarks for 4 cryptographic operations:

  • t_encrypt — ECIES envelope encryption
  • t_zk — ZK proof generation
  • t_decrypt — ECIES decryption (enclave emulation)
  • t_zeroize — Memory scrubbing

Outputs a markdown table with min, max, p50, p95, and p99 latencies.

Environment Variables

| Variable | Default | Description | |---|---|---| | AGENT_URL | http://localhost:8080 | Coordinator agent gateway URL | | NEXT_PUBLIC_AGENT_URL | (fallback) | Alternative env var for agent URL | | ENCLAVE_PUB_KEY | (set in .env) | secp256k1 uncompressed public key for ECIES encryption | | ENCLAVE_PRIVATE_KEY | (set in .env) | secp256k1 private key for benchmark decryption |

Development

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run tests (Jest)
npm test

Dependencies

| Package | Purpose | |---|---| | commander | CLI argument parsing | | @edycutjong/lethe-sdk | Core cryptographic operations | | fs / path | File I/O for templates and receipts | | crypto | Node.js built-in for benchmarking |