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

veem-cli

v1.3.0

Published

CLI to provision VMs and deploy apps with zero-downtime

Readme

veem

Provision a VM and deploy your app in two commands.

veem init    # provision the VM
veem deploy  # ship the app

What it does

veem init connects to a fresh Ubuntu VM and sets it up for production: installs Docker, configures a firewall, creates a dedicated deploy user, and provisions Traefik as a reverse proxy with automatic HTTPS via Let's Encrypt.

veem deploy builds your Docker image locally, transfers it to the VM securely over SSH (no registry required), and starts your application using blue/green deployment — bringing up the new version before tearing down the old one so there's zero downtime. Deployment also includes securely copying your .env file to your VM.

Install

npm install -g veem-cli

Quick start

In your project directory, ensure there's a Dockerfile and the image can be built locally. Then run the following commands:

veem init
veem deploy

Your app will be live at my-app.1-2-3-4.sslip.io with a valid TLS certificate.

Commands

veem init

Provisions a fresh VM for production use.

| Option | Description | |---|---| | --host <ip> | VM IP address | | --ssh-user <user> | SSH user (default: root) | | --ssh-key <path> | Path to SSH private key | | --email <email> | Email for Let's Encrypt |

If any required options are missing, veem init will prompt you interactively.

This command only needs to be run once per VM. If you want to deploy additional apps to the VM, you'll need to set up a .veem.json file manually in the other project's directory.

veem deploy

Builds and deploys your app to the VM.

| Option | Description | |---|---| | --tag <tag> | Image tag (default: current git SHA) | | --host <ip> | VM IP override | | --ssh-user <user> | SSH user override (default: deploy) | | --ssh-key <path> | SSH key path override | | --image <name> | Docker image name override | | --env <suffix> | Upload .env.<suffix> as .env on the VM (e.g. --env prod.env.prod) |

Utility commands

veem logs

Fetches logs from the deployed container on the VM.

| Option | Description | |---|---| | -C, --container <name> | Container name (default: <appName>-app-1) | | -T, --tail | Follow log output (docker logs -f) | | --ssh-user <user> | SSH user override | | --ssh-key <path> | SSH key path override |

veem ps

Lists all Docker containers on the VM (docker ps -a).

| Option | Description | |---|---| | --ssh-user <user> | SSH user override | | --ssh-key <path> | SSH key path override |

Configuration

veem reads from a .veem.json file in your project root. Options passed via CLI flags take precedence.

{
  "appName": "my-app",
  "appPort": 3000,
  "imageName": "my-app",
  "host": "1.2.3.4",
  "sshUser": "deploy",
  "sshKeyPath": "~/.ssh/id_rsa",
  "letsencryptEmail": "[email protected]"
}

Place a .env file in your project root and veem deploy will upload it to the VM automatically.

To deploy with a different env file, pass --env <suffix> and veem will upload .env.<suffix> from your project root in place of .env. For example:

veem deploy --env prod    # uploads .env.prod as .env on the VM
veem deploy --env staging # uploads .env.staging as .env on the VM

If the named file doesn't exist, the deploy fails fast.

License

MIT