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

@nodatachat/protect

v1.1.0

Published

Encrypt .env secrets with AES-256-GCM. Decrypt in memory only. Cryptographic proof of every access. Claude Code Skill included.

Downloads

467

Readme

@nodatachat/protect

Encrypt your .env secrets. Run your app safely. Real keys never touch disk.

Quick Start

# Setup (creates free API key — no signup, no credit card)
npx @nodatachat/protect init

# Encrypt all secrets in .env
npx @nodatachat/protect encrypt

# Run your app with decrypted env vars (in memory only)
npx @nodatachat/protect run -- npm run dev

How It Works

Before:  OPENAI_API_KEY=sk-proj-Ax7Q...        (plaintext — stealable)
After:   OPENAI_API_KEY=ndc_enc_7f3a8b...      (encrypted — useless if stolen)

Runtime: npx @nodatachat/protect run -- npm start
         → decrypts in memory only → your app gets real values
         → secrets never written to disk

Commands

| Command | What it does | |---------|-------------| | npx @nodatachat/protect init | Create API key, save to ~/.nodata/config.json | | npx @nodatachat/protect encrypt | Encrypt secrets in .env file | | npx @nodatachat/protect decrypt | Decrypt .env back to plaintext | | npx @nodatachat/protect run -- <cmd> | Run command with decrypted env vars (memory only) | | npx @nodatachat/protect status | Show config + encrypted count |

What Gets Encrypted?

Auto-detects secrets by key name:

  • *_API_KEY, *_SECRET, *_TOKEN, *_PASSWORD
  • DATABASE_URL, REDIS_URL, MONGO_*
  • AWS_*, STRIPE_*, OPENAI_*, ANTHROPIC_*
  • And 20+ more patterns...

Non-secret values (PORT, NODE_ENV, etc.) are left as-is.

Security Model

| State | Without NoData | With NoData | |-------|---------------|-------------| | On disk (.env) | Plaintext | Encrypted (ndc_enc_) | | In Git (accident) | Catastrophic | Harmless | | In CI/CD logs | Can leak | ndc_enc_ only | | In memory (runtime) | Plaintext | Plaintext (same) | | Stolen by malware | Full access | Nothing useful |

Cryptographic Proof

Every encryption and decryption is logged with HMAC-SHA256 proof:

  • Proof of encryption — you know when each secret was encrypted
  • Proof of access — every decryption leaves a signed receipt
  • Proof of control — your data is yours, even after it leaves your machine

Claude Code Integration

Add the NoData security skill to Claude Code so it automatically protects your projects:

# Create the skill directory
mkdir -p ~/.claude/skills/nodata-protect

# Download the skill
curl -sL https://raw.githubusercontent.com/daviderez4/nodatachat-core/main/skill/nodata-protect/SKILL.md \
  -o ~/.claude/skills/nodata-protect/SKILL.md

Once installed, Claude Code will:

  • Detect unprotected .env files in your projects
  • Suggest encrypting secrets automatically
  • Add dev:safe scripts to your package.json
  • Verify .gitignore covers sensitive files

Environment Variables

Override config with environment variables:

  • NODATA_API_KEY — API key (overrides ~/.nodata/config.json)
  • NODATA_SERVER — Server URL (default: https://www.nodatacapsule.com)

Free Tier

100 encryptions/month. No credit card. No signup form. Just run npx @nodatachat/protect init.