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

@zerodeploy/cli

v0.1.39

Published

Zero-friction deployment CLI for frontend SPAs

Downloads

254

Readme

ZeroDeploy CLI

Command-line interface for deploying static sites and SPAs to ZeroDeploy.

Installation

npm install -g @zerodeploy/cli

Or use directly with npx:

npx @zerodeploy/cli deploy

Quick Start

# 1. Login with GitHub
zerodeploy login

# 2. Create an organization
zerodeploy org create "My Company"

# 3. Create a site and initialize config
zerodeploy site create "My Website" --org my-company
zerodeploy init --org my-company --site my-website

# 4. Deploy your site
zerodeploy deploy --dir ./dist

Your site will be live at https://my-website.zerodeploy.app. With zerodeploy.json in place, all commands resolve org/site automatically — no flags needed.

Commands

| Command | Description | |---------|-------------| | login | Authenticate with GitHub OAuth | | logout | Clear stored authentication token | | whoami | Display current logged-in user | | usage | Show current usage and plan limits | | org list/create/delete | Manage organizations | | site list/create/delete | Manage sites | | site stats | View site traffic analytics | | deploy | Deploy a directory to a site | | deploy promote | Promote a preview deployment to production | | deployments list/show/logs | View deployment history and logs | | rollback | Roll back to a previous deployment | | domain add/verify/list/remove | Manage custom domains | | domain redirect | Set www/apex redirect mode | | token create/list/delete | Manage API and deploy tokens | | form list/export/delete/notify | Manage form submissions | | billing usage/bills/adjustments | View billing information | | account email/delete | Manage account settings | | init | Create zerodeploy.json config file | | update | Update CLI to the latest version | | inspect | Output command metadata as JSON |

Most data-returning commands support --json for machine-readable output.

For detailed documentation on each command, see the CLI Reference.

Configuration

Create a zerodeploy.json in your project root:

zerodeploy init --org my-company --site my-website

Then deploy with just:

zerodeploy deploy           # deploy only
zerodeploy deploy --build   # build + deploy

CI/CD

For GitHub-based CI/CD, use the GitHub App integration which auto-deploys on push and creates preview deployments for PRs — no configuration needed.

For other CI/CD systems, create a deploy token and set the ZERODEPLOY_TOKEN environment variable:

zerodeploy token create "CI Deploy" --org my-company

# Then in your CI pipeline (org/site resolved from zerodeploy.json or env vars):
ZERODEPLOY_ORG=my-org ZERODEPLOY_SITE=my-site npx @zerodeploy/cli deploy

Updating

zerodeploy update

The CLI checks for updates automatically after each command (once per day) and shows a banner if a new version is available.

Publishing

Releases are automated via GitHub Actions with npm Trusted Publishing.

# 1. Bump version in package.json
# 2. Commit and tag
git commit -am "cli: v0.1.16"
git tag cli-v0.1.16
git push && git push --tags

The tag triggers the publish-cli.yml workflow which builds and publishes to npm. No tokens needed.

Documentation