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

zavudev

v0.14.1

Published

Official CLI for Zavu — deploy Functions, send messages, manage senders & contacts.

Downloads

980

Readme

@zavudev/cli

Official CLI for Zavu. Built with Bun, compiles to a single standalone binary per platform (no Node or Bun runtime required on the user's machine).

What's included

| Command | What it does | |---|---| | zavu login | Authenticate. Stores API key in ~/.zavu/credentials.json (chmod 600). | | zavu functions init | Scaffold a new function locally + register it in your project. | | zavu functions deploy | Push the local function code to Zavu (server-side bundle + activate). | | zavu functions invoke | Run the function locally with a synthetic event. Mock or live mode. | | zavu functions logs --tail | Stream invocation logs. | | zavu messages send / list / get | Wraps the SDK's messages resource. More API mirrors planned. |

The zavu functions group is the dev workflow (init/deploy/invoke/logs). The top-level groups (messages, future contacts, templates, etc.) thinly wrap @zavudev/sdk so they stay auto-aligned with the API.

Develop locally

bun install
bun run dev login            # invoke straight from src/
bun run dev functions init

Build a binary

# Single platform
bun run build:macos-arm64
./dist/zavu-macos-arm64 login

# All supported targets
bun run build:all
ls dist/
# zavu-macos-arm64
# zavu-macos-x64
# zavu-linux-x64
# zavu-linux-arm64
# zavu-windows-x64.exe

The binaries embed the Bun runtime; users don't need anything installed. Ship via npm (npx zavudev@latest / npm install -g zavudev) and GitHub Releases. The Homebrew tap is deprecated.

Architecture

  • src/index.ts — Commander program, mounts subcommand groups.
  • src/commands/login.ts — auth flow.
  • src/commands/functions/ — dev workflow (init, deploy, invoke, logs).
  • src/commands/api/messages.ts — example API mirror. Pattern repeats for each SDK resource.
  • src/lib/config.ts~/.zavu/credentials.json + ./.zavu/config.json.
  • src/lib/client.ts — builds an authenticated @zavudev/sdk client.
  • src/lib/ui.ts — color output, table rendering, fail() helper.
  • src/templates.ts — function scaffolding templates (mirrors the dashboard's set).

Backend API endpoints

The CLI talks to these endpoints on top of the SDK:

  • POST /v1/functions — create a function (used by init)
  • POST /v1/functions/:id/deploy — start a deployment (used by deploy)
  • GET /v1/functions/deployments/:id — poll deployment status
  • GET /v1/functions/:id/logs — fetch invocation logs

These live in apps/dashboard/convex/routes/functions.ts and are documented in apps/docs/openapi.json. Stainless will pick them up on the next SDK regeneration; until then the CLI calls them directly with fetch.