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

@rpblc/dam

v0.3.1

Published

DAM — PII firewall for AI agents

Readme

DAM — Data Access Mediator

The PII firewall for AI agents.

Your data never leaves your machine. The LLM never sees it. Every access is logged.

  "Send the contract to [email protected]        "Send the contract to [email:a3f71bc9]
   and CC [email protected],                       and CC [email:d4f82c19],
   charge card 4111-1111-1111-1111"  ──DAM──►  charge card [cc:b7e31a02]"

        What the user types                       What the LLM sees

DAM sits between your app and the LLM as a local proxy, intercepts PII before it leaves your machine, and replaces it with typed references. Originals stay encrypted in a local vault. When the LLM responds with references, DAM resolves them back — the user sees real data, the LLM never does.

Install

npm install -g @rpblc/dam

Quick Start

# Start the proxy
dam serve
export OPENAI_BASE_URL=http://127.0.0.1:7828/v1
export ANTHROPIC_BASE_URL=http://127.0.0.1:7828

# Or run as a background service (auto-starts on login, restarts on crash)
dam daemon install

No dam init needed — config, vault, and encryption keys are auto-created on first run.

What It Does

| Stage | What happens | |-------|-------------| | Detect | Regex pipeline finds emails, phones, SSNs, credit cards, IPs, IBANs, and 15+ locale-specific patterns | | Encrypt | Each value gets its own AES-256-GCM key (envelope encryption). Master key lives in your OS keychain | | Replace | Values become typed references: [email:a3f71bc9]. The LLM knows the type but never the value | | Resolve | When the LLM responds with references, DAM replaces them with real values before returning to the client | | Audit | Every operation is logged in a SHA-256 hash-chained trail |

Supported Routes

| Route | Format | Default upstream | |-------|--------|-----------------| | POST /v1/messages | Anthropic Messages | https://api.anthropic.com | | POST /v1/chat/completions | OpenAI Chat | https://api.openai.com | | POST /v1/responses | OpenAI Responses | https://api.openai.com | | POST /codex/responses | Codex | https://chatgpt.com/backend-api |

Agent Install (One Command)

npx @rpblc/dam daemon install

Downloads the binary, registers DAM as an OS service, starts it, and verifies health — all in one command. Supports Linux (systemd), macOS (launchd), and Windows (Registry Run key).

CLI

dam serve [--port PORT]              Start HTTP proxy
dam daemon install|start|stop|status Manage background service
dam scan [TEXT]                      Scan text for PII
dam vault list|show|delete           Manage encrypted vault
dam consent grant|revoke|list        Control PII access consent
dam audit [--ref REF]                View audit trail

PII Types

Email, credit card (Luhn), phone, IPv4, date of birth, IBAN, SSN, SIN, postal code, NI number, NHS number, driving licence, INSEE/NIR, tax ID, national ID, VAT number, SWIFT/BIC — plus custom regex patterns via config.

Links

License

Apache-2.0