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

@lucerowb/dot-vault

v0.2.9

Published

CLI for DotVault — secure environment variable management

Readme

@lucerowb/dot-vault

Command-line tool for DotVault — sign in, list projects, and push / pull .env files to your encrypted cloud vault.

Short command: dv (also dot-vault, dotvault)

Requires Node.js 18+ and a running DotVault instance. See CHANGELOG for release notes.

Install

Homebrew (macOS, project tap)

Not in homebrew/core — install from the repo tap (Formula/dot-vault.rb):

brew tap lucerowb/dot-vault https://github.com/lucerowb/dot-vault
brew install dot-vault
dv --version

Installs dv, dot-vault, and dotvault with a Homebrew-managed Node.js dependency. Upgrade: brew update && brew upgrade dot-vault.

npm

npm install -g @lucerowb/dot-vault

# or one-off
npx @lucerowb/dot-vault@latest

Interactive session

Run dv with no arguments — you get a persistent session (it stays open until you choose Exit). The banner uses a typographic ASCII render of the DotVault logo (cloud + vault), with a subtle animated field.

Mental model: a project has a slug (realpha); environments are named .env files inside it (production, local). Use -p realpha for the project — not the env name.

dv              # interactive session (default)
dv shell        # same as above
dv project-create "My App"   # create a project from the terminal
dv logo         # replay the logo animation
dv help         # cheatsheet
dv init         # one-shot setup wizard (sign in + upload)

Pick project once in the session; pull/push/edit/rename/delete envs without re-selecting the project each time.

Set NO_COLOR=1 or pipe output to disable animation and color.

Quick start

dv login --api-url https://dot-vault.lucerowb.cloud
dv st                              # status
dv ls                              # projects
dv e realpha                       # env labels (type to filter)
dv pl production -p realpha        # pull → .env
dv ps .env -p realpha -l staging   # push

Omit flags for searchable prompts (projects, env labels, local files).

Easy-to-remember aliases

| What you want | Command | Alias | | ------------- | ------- | ----- | | Sign in | dv login | dv li | | Sign out | dv logout | dv lo | | Status | dv status | dv st | | Projects | dv projects | dv ls, dv p | | Environments | dv envs | dv e, dv env | | Download | dv pull | dv pl, dv get | | Upload | dv push | dv ps, dv up | | Delete | dv delete | dv rm | | Wizard | dv init | dv setup | | Interactive session | dv shell | dv i, dv sh | | New project | dv project-create | dv new |

Shell autocomplete

# zsh (add to ~/.zshrc)
eval "$(dv completion zsh)"

# bash
eval "$(dv completion bash)"

API URL

Configured on your machine, not at npm publish time:

| Priority | Source | | -------- | ------ | | 1 | ~/.dotvault/config.json | | 2 | DOTVAULT_API_URL | | 3 | BETTER_AUTH_URL / NEXT_PUBLIC_APP_URL | | 4 | http://localhost:3000 |

dv login --api-url https://your-server.com

Examples

# Fully interactive pull (pick project + label)
dv pl

# Pull production for a slug
dv pl production -p realpha -o .env

# Push detected .env files
dv ps

# Merge instead of overwrite
dv pl staging -o .env --merge

Development

pnpm build:cli
node packages/cli/bin/dot-vault.js help

License

MIT