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

cryptenv-cli

v1.3.0

Published

CryptEnv CLI — runtime secret injection for the CryptEnv Spring Boot API. Workspaces, secrets, and cryptenv run. Default: https://cryptenv-backend.onrender.com/api

Readme

cryptenv-cli

Version 1.3.0

CryptEnv CLI injects encrypted secrets into local and CI processes at runtime. Secrets stay in CryptEnv (AES-GCM at rest) and are never written as project .env files.

Default API: https://cryptenv-backend.onrender.com/api


Install

npm install -g cryptenv-cli
cryptenv --version
# cryptenv-cli 1.3.0

Or: npx cryptenv-cli <command>

Linux credential store: sudo apt-get install libsecret-1-dev


Quick start

cryptenv register          # or sign up in the dashboard
cryptenv login             # JWT stored in OS keychain
cd my-app && cryptenv init # writes .cryptenv.json (no secrets)
cryptenv secrets set DATABASE_URL "postgresql://..."
cryptenv run -- npm start  # secrets injected into the child process only

Commands

Account

| Command | Description | |---------|-------------| | cryptenv register | Create account | | cryptenv login | Authenticate (JWT → OS credential store) | | cryptenv logout | Clear stored token | | cryptenv profile | Show profile / API key hints |

Project

| Command | Description | |---------|-------------| | cryptenv init | Create .cryptenv.json (API URL + workspace name) |

Workspaces (1.2+)

| Command | Description | |---------|-------------| | cryptenv workspaces ls | List workspaces (key✓ / no-key) | | cryptenv workspaces create <name> -k <key> | Create workspace with encryption key (-d description) | | cryptenv ws … | Alias for workspaces |

Secrets

| Command | Description | |---------|-------------| | cryptenv secrets ls | List keys (values masked) | | cryptenv secrets get <KEY> | Print decrypted value | | cryptenv secrets set <KEY> <VALUE> | Create secret (server encrypts) | | cryptenv secrets delete <KEY> | Delete secret |

Runtime

| Command | Description | |---------|-------------| | cryptenv run -- <cmd> [args…] | Run command with all secrets as env vars |


CI / non-interactive auth

export CRYPTENV_API_KEY="ce_live_xxxxxxxx"
export CRYPTENV_API_URL="https://cryptenv-backend.onrender.com/api"   # optional
cryptenv run -- npm test

Generate/regenerate API keys in the CryptEnv dashboard → Settings.


Configuration

| Source | Purpose | |--------|---------| | CRYPTENV_API_URL | Backend base URL (highest priority) | | CRYPTENV_API_KEY | API key auth (CI/CD) | | .cryptenv.json | apiUrl + workspace name (safe to commit) |

{
  "apiUrl": "https://cryptenv-backend.onrender.com/api",
  "workspace": "my-project",
  "createdAt": "2026-08-12T00:00:00.000Z"
}

Security notes

  • Secrets are encrypted server-side with your workspace encryption key.
  • cryptenv run injects into the child process only — nothing written to disk.
  • Prefer API keys for pipelines; prefer login for local machines.

Troubleshooting

| Issue | Fix | |-------|-----| | Connection error | Check CRYPTENV_API_URL; free-tier hosts may cold-start (~30s) | | Not authenticated | cryptenv login or set CRYPTENV_API_KEY | | No secrets / decrypt errors | Ensure workspace has an encryption key; recreate secrets if master key was rotated |

Issues: https://github.com/maheshshinde9100/CryptEnv/issues


License & author

MIT · Mahesh Shinde · https://github.com/maheshshinde9100