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

@whizan/cli

v1.0.7

Published

Whizan Cloud CLI — Deploy fullstack apps, backends, databases, and edge functions from your terminal

Readme

@whizan/cli — Whizan Cloud Command Line Interface

Deploy fullstack apps, backend services, managed databases, edge functions, and scheduled cron jobs directly from your terminal.


⚡ Quick Start

Installation

# Global installation (recommended)
npm install -g @whizan/cli

# Or run directly with npx
npx @whizan/cli login
npx @whizan/cli deploy

🔐 Authentication

1. Browser-based OAuth (Default)

Spins up a lightweight local callback server and opens your browser:

whizan login

2. Token-based Login (Headless / SSH / CI/CD)

whizan login -t whz_live_your_api_key

Check Auth Identity

whizan whoami

Log Out

whizan logout

🚀 Deployment (whizan deploy)

Run whizan deploy inside any project folder. The CLI automatically audits your project, packs the source (excluding node_modules, .git, and secrets), uploads it to Whizan Cloud, streams build logs in real-time, and probes the live health endpoint:

cd my-project
whizan deploy

The 6-Phase Deployment Engine:

  1. [1/6] 🔐 Authentication Check: Verifies active session and subscription plan.
  2. [2/6] 🔍 Workspace Audit: Detects language, framework, ports, build/start commands, entry points, loopback binding issues, and referenced environment variables.
  3. [3/6] 📦 Tarball Creation: Creates a compressed tarball respecting .gitignore, .whizanignore, and the 50MB ceiling.
  4. [4/6] 🚀 Cloud Provisioning & Upload: Provisions service or edge project and uploads source to the build worker.
  5. [5/6] 🛠️ Real-Time Log Streaming: Streams live container compilation and startup logs.
  6. [6/6] 🌐 Health Check Probe: Probes http://<slug>.20.2.136.11.nip.io until HTTP 200 OK is verified.

Non-Interactive / CI/CD Mode

whizan deploy --yes --env DATABASE_URL=$DATABASE_URL --env JWT_SECRET=$JWT_SECRET

JSON Output Mode (for pipelines)

whizan deploy --yes --json

Redeploying

whizan redeploy

🛠️ Supported Frameworks & Stacks

Whizan CLI supports zero-config deployment for:

  • Frontend & Fullstack Projects:
    • Next.js (SSR, Standalone, App Router, Server Actions)
    • Vite (React, Vue, Svelte)
    • Create React App (CRA)
    • Astro (Static & SSR)
    • SvelteKit & Nuxt.js
    • Static HTML/CSS sites
  • Backend Microservices:
    • Node.js (Express, Fastify, NestJS, Koa, Hono)
    • Python (FastAPI, Django, Flask)
    • Background Queue Workers (Celery, BullMQ, Kafka consumers)
    • Go (go.mod)
    • Any language via custom Dockerfile (Rust, Java Spring Boot, PHP Laravel, Ruby on Rails)

📋 Commands Reference

Deploy & Project Management

| Command | Description | |---|---| | whizan init | Interactively generate a .whizan.json configuration file | | whizan deploy | Run full 6-phase deployment pipeline | | whizan redeploy | Re-deploy existing linked project with updated code | | whizan link <id> | Link current folder to existing Whizan deployment | | whizan unlink | Remove .whizan.json linkage | | whizan delete <id> | Permanently delete a service or project |

Monitoring & Operations

| Command | Description | |---|---| | whizan top | Real-time interactive terminal dashboard monitor (htop/k9s style) | | whizan ps | List all active services, projects, functions, and crons | | whizan logs [id] [--tail] | Stream live build or container output logs | | whizan logs [id] --ai "question" | AI Log Intelligence — Diagnose crashes, errors, bottlenecks, and solutions | | whizan open [id] | Open the live deployment URL in default web browser | | whizan exec -- CMD | Execute diagnostic commands inside live container |

Environment Variables

| Command | Description | |---|---| | whizan env ls | List configured environment variables | | whizan env set KEY=VAL | Set one or more environment variables | | whizan env rm KEY | Remove an environment variable |

Managed Databases

| Command | Description | |---|---| | whizan db ls | List provisioned databases | | whizan db create <name> | Provision PostgreSQL database | | whizan db create <name> --type REDIS | Provision Redis database | | whizan db create <name> --bind <service-id> | Auto-bind connection string to a service |

Serverless Edge Functions

| Command | Description | |---|---| | whizan fn ls | List all serverless edge functions | | whizan fn deploy <file> | Deploy ESM function bundle to isolated V8 runtime | | whizan fn invoke <slug> [--path /route] | Invoke live function endpoint |

Scheduled Cron Jobs

| Command | Description | |---|---| | whizan cron ls | List scheduled cron jobs | | whizan cron create <name> --schedule "*/5 * * * *" | Schedule a cron job | | whizan cron trigger <id> | Manually trigger immediate execution |

AI & Agent Integration (MCP DevOps)

| Command | Description | |---|---| | whizan mcp setup | Configure Whizan MCP for Cursor, Antigravity, Claude Code, and Windsurf | | whizan mcp info | Inspect MCP server status, tool inventory, and IDE configs |


🤖 AI Self-Healing & MCP Handshake (whizan mcp setup)

When a deployment fails (e.g. build error, syntax error, missing dependencies on cloud builders), Whizan CLI saves a failure snapshot to .whizan.json and renders an AI Agent Self-Healing banner with a ready-to-paste prompt.

Run:

whizan mcp setup

This automatically links Cursor, Antigravity IDE, Claude Code, and Windsurf to Whizan Cloud. Your AI assistant can now:

  1. Automatically inspect cloud build failure logs with whizan_get_build_logs.
  2. Edit and fix your broken code files directly in the editor.
  3. Redeploy to the SAME cloud target with zero duplicate services via whizan_deploy_direct.

🛡️ Built-In Guardrails & Edge Case Protections

  • Loopback Trap Detection: Detects and auto-patches 127.0.0.1 or localhost server listeners to 0.0.0.0 for Docker container mesh compatibility.
  • Next.js Static Export Detection: Flags incompatible dynamic route exports (output: 'export' with [id] pages) and guides you to native Next.js SSR hosting.
  • Zero Secrets Upload: Ensures .env, .env.local, .git, and sensitive credential files are excluded from source tarballs.
  • 50MB Source Ceiling: Warns and blocks upload if bulky directories like venv/ or datasets are accidentally unignored.
  • Reboot Self-Healing: Edge functions and cron jobs resume execution automatically on VM reboot without duplicate triggers.

📄 License

MIT © Whizan Cloud