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

@vaultenv/cli

v0.1.6

Published

CLI to pull and push Vault.env secrets from your terminal

Downloads

78

Readme

vault-env CLI

Sync encrypted secrets between Vault.env (Firebase) and local .env files.

From the website (easiest)

On a project’s Secrets tab, open Use these secrets on your computer. You can:

  1. Download vault-env.cli.env — a small connection file for the CLI (no manual setup).
  2. Copy ready-made commands for login, pull, and push — this project is already filled in.

Put the downloaded file in your app folder, install the CLI from npm (see below), then paste the commands into your terminal.

Install (users — no repo clone)

You need Node.js 18+.

npm install -g @vaultenv/cli

Then the vault-env command is on your PATH. Alternatively run commands with npx @vaultenv/cli without a global install.

Local development (maintainers)

From the monorepo root:

npm install
npm run build -w @vaultenv/crypto
npm run build -w @vaultenv/cli
npm run vault-env -- login --env-file .env.local

Publish both packages to npm (crypto first; workspace:* is rewritten on publish):

npm run publish:packages

Requires an npm account with access to the @vaultenv scope.

Zero setup (vault-env.com)

For the hosted vault-env.com service, no connection file is required. Install @vaultenv/[email protected] or newer and run vault-env login — the public Firebase client config is built in.

Connection file (self-hosted)

If you run your own Vault.env deployment, put vault-env.cli.env in your project folder, or use --env-file. The CLI loads vault-env.cli.env, vault-env.firebase.env, or .env.local when present (optional overrides before applying defaults).

Commands

| Command | Description | |---------|-------------| | vault-env login | Save Vault.env account email/password under ~/.vault-env/credentials.json (plain text; restrict permissions). | | vault-env logout | Remove saved credentials. | | vault-env whoami | Print Firebase uid and email. | | vault-env projects | List project ids and names. | | vault-env pull --project <id> | Decrypt secrets and write .env (use -o file). | | vault-env push --project <id> | Encrypt and upload keys from .env (use -f file). |

Master password (vault encryption, not Firebase): set VAULT_MASTER_PASSWORD, or --master-password, or enter when prompted.

Examples

With vault-env.cli.env in the current directory:

npx @vaultenv/cli login
npx @vaultenv/cli projects
npx @vaultenv/cli pull --project YOUR_PROJECT_ID -o .env
npx @vaultenv/cli push --project YOUR_PROJECT_ID -f .env

After npm install -g @vaultenv/cli, use vault-env instead of npx @vaultenv/cli.

Security

  • ~/.vault-env/credentials.json stores your Firebase password in plain text. Use a dedicated Firebase user or restrict file permissions (chmod 600 on Unix).
  • The master password is never written to disk by the CLI unless you export VAULT_MASTER_PASSWORD yourself.