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

age-vault

v0.2.1

Published

Passphrase-based file encryption CLI built on age — encrypt, decrypt, and inspect sensitive files

Readme

age-vault

Passphrase-based file encryption CLI built on age.

Encrypt, decrypt, and inspect sensitive files with a single password. No keys to manage, no agents to run, no config files to maintain. Files use the standard age format — interoperable with the age CLI, rage, passage, and SOPS.

Why

Most encryption tools assume you want key management. Sometimes you just want to password-protect a file — notes, tax docs, credentials, configs — and have it be unreadable to anyone without the password, including sync providers and AI tools that scan your filesystem.

age-vault is a friendly wrapper around the age encryption format for that case. It uses the TypeScript age implementation (typage) so no external binary is required.

Install

npm install -g age-vault

Or via curl installer (installs Node if needed):

curl -fsSL https://raw.githubusercontent.com/eeshansrivastava89/age-vault/main/install.sh | bash

Usage

# Encrypt a file (prompts for passphrase twice, removes plaintext)
age-vault -e notes.md

# Decrypt a file (prompts for passphrase, removes ciphertext)
age-vault -d notes.md.age

# List encrypted files under the current directory
age-vault -l

# Show vault status — counts, tree, unencrypted warnings
age-vault -ls
age-vault -ls path/to/vault

Flags

| Flag | Description | |------|-------------| | --armor | Encrypt to ASCII-armored PEM format (emailable text) | | --keep | Don't delete the source file after encrypt/decrypt | | --force | Overwrite existing output file on decrypt |

Example

$ echo "secret" > tax-2026.md
$ age-vault -e tax-2026.md
Enter passphrase: ********
Confirm passphrase: ********
✓ Encrypted tax-2026.md
  7 B → 197 B
  Output: tax-2026.md.age
✓ Removed plaintext tax-2026.md

$ age-vault -ls
  ╭ Vault Status ──────────────────────────────╮
  │ Directory      .                            │
  │ Total files    1                            │
  │ Encrypted      1  (100%)                    │
  │ Plaintext      0  (0%)                      │
  ╰─────────────────────────────────────────────╯

$ age-vault -d tax-2026.md.age
Enter passphrase: ********
✓ Decrypted tax-2026.md.age
✓ Removed ciphertext tax-2026.md.age

How it works

  • Encryption: Argon2id KDF derives a key from your passphrase, then age encrypts the file with ChaCha20-Poly1305. This is the same crypto the age CLI uses.
  • Format: Standard age v1 format. Files encrypted with age-vault can be decrypted with age -d, and vice versa.
  • At rest: Encrypted files are pure ciphertext. Sync providers (iCloud, Dropbox), AI tools, and anyone scanning your filesystem sees gibberish.
  • In transit to LLMs: Encryption protects files at rest. If you decrypt and paste content into a chat, it's obviously exposed at that point.

Development

git clone https://github.com/eeshansrivastava89/age-vault.git
cd age-vault
npm install
npm test
node bin/age-vault.mjs --help

License

MIT — Eeshan Srivastava (https://eeshans.com)