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

@fronik/envman

v3.0.2

Published

A security-first CLI for environment variable management with AES-256 encryption, secret scanning, health diagnostics, auto-backups, and safe sync.

Readme

envman

A CLI for safer .env workflows.

It helps catch common mistakes around .env files during development — like accidental leaks, weak configs, or missing .env.example.

It does not replace dotenv or Node's built-in env support. It focuses on preventing the kinds of mistakes that still happen around those tools.


Why this exists

I accidentally exposed a secret in a project.

Even with .gitignore, things can still go wrong:

  • values get logged during debugging
  • secrets get copied into other files
  • .env gets committed once and stays in history
  • configs are incomplete or inconsistent

This tool is a small safety layer for those situations.


What it does

  • scan your project for possible secrets
  • check .env for common issues (doctor)
  • encrypt and decrypt .env files
  • generate .env.example from .env
  • manage variables from the CLI
  • help keep configs consistent across environments

What it is not

  • not a replacement for dotenv
  • not a production secret manager
  • not trying to replace Node's --env-file

It's meant for local development workflows.


Installation

npm install -g @fronik/envman

Or run directly:

npx @fronik/envman

Quick start

# Set up a new project
envman init

# Check for common issues
envman doctor

# Scan for hardcoded secrets
envman scan

# View variables
envman list

# Add a variable
envman add DATABASE_URL=postgres://localhost/mydb

Commands

| Command | What it does | |---------|-------------| | init | Set up .env, .env.example, and encryption key | | list | Show all variables (sensitive ones masked by default) | | add KEY=value | Add or update a variable | | remove KEY | Remove a variable | | sync --to <path> | Copy variables to another .env file | | check | Quick checks on .env setup | | doctor | Health check with suggestions | | scan | Find possible hardcoded secrets in code | | encrypt | Encrypt .env to .env.enc with a password | | decrypt | Decrypt .env.enc back to .env | | generate | Create .env.example from .env | | enable-telemetry | Opt in to anonymous usage stats |


Options

envman [command] --safe              # Preview mode — show what would happen
envman [command] -e path/to/.env     # Use a custom .env file
envman [command] --verbose           # More detailed output
envman [command] --no-backup         # Skip automatic backups

Safety notes

  • Always add .env to .gitignore — this tool can't do it for you
  • Keep .envmanrc secret — it contains your encryption key
  • Backups go to .envman-backups/ — check before deleting them
  • Secret scanning is pattern-based — not every match is a real secret
  • Use --safe flag to preview changes before applying them

Contributing

Found a bug? Have an idea? Open an issue or PR on GitHub.

License

MIT


If this tool is useful, a star helps.