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

@deploybay/cli

v1.0.3

Published

Command-line interface for DeployBay serverless platform

Readme

DeployBay CLI

A command-line interface for DeployBay, a serverless deployment platform.

Installation

npm install -g @deploybay/cli

Core Commands

deploybay login

Authenticate with your DeployBay account to access deployment features.

deploybay init

Initialize a new DeployBay project in the current directory.

Features:

  • 🚀 Project scaffolding with templates
  • 📝 TypeScript/JavaScript support
  • 🎯 Multiple framework options:
    • Vanilla (Basic DeployBay app)
    • Hono (Lightweight web framework)
    • Itty Router (Zero-dependency router)

Usage:

deploybay init
# Follow the interactive prompts to configure your project

deploybay dev

Start a local development server with hot reload and debugging features.

Features:

  • 🚀 Hot Reload: Automatically rebuilds and reloads when you change files
  • 📁 File Watching: Watches all project files for changes
  • Fast Development: Uses esbuild for fast bundling
  • 🔄 Debounced Rebuilds: Prevents excessive rebuilding with 500ms debounce
  • 🎯 Manual Refresh: Press Ctrl+R to manually refresh the server
  • 🌐 Port Management: Automatically finds available ports

Usage:

deploybay dev              # Start with default settings
deploybay dev --port 3000  # Use specific port
deploybay dev --host 0.0.0.0  # Bind to all interfaces
deploybay dev --no-watch   # Disable file watching

deploybay deploy

Deploy your application to DeployBay's serverless platform.

Features:

  • 🌍 Global edge deployment
  • 🔄 Automatic scaling
  • 📊 Built-in monitoring
  • 🔐 Secure environment handling

deploybay secret

Manage environment variables and encrypted secrets for your application.

Usage:

deploybay secret set API_KEY "your-key" --type secret  # Set encrypted secret
deploybay secret set NODE_ENV "production" --type variable  # Set environment variable
deploybay secret list  # View all configured variables

deploybay migration

Manage database schema migrations.

Features:

  • 📝 Create new migrations
  • 🔄 Apply pending migrations
  • 📊 Check migration status
  • 🔍 Preview migration changes

Usage:

deploybay migration create users              # Create new migration
deploybay migration list                      # Show all migrations
deploybay migration status                    # Check pending migrations
deploybay migration apply                     # Apply pending migrations
deploybay migration apply --dry-run           # Preview changes

SDK Integration

The DeployBay SDK provides built-in services for your application:

import { data, store, media, config, ai } from '@deploybay/sdk';

// SQL Database
const users = await data.query('SELECT * FROM users WHERE active = ?', [true]);

// Key-Value Storage
await store.put('session:123', JSON.stringify(sessionData));
const session = await store.get('session:123');

// File Storage
await media.put('uploads/avatar.jpg', imageBuffer, {
  metadata: { contentType: 'image/jpeg' }
});

// Environment & Secrets
const apiKey = config.get('API_KEY');
const isDev = config.isDevelopment();

// AI Capabilities
const result = await ai.run('text-model', {
  prompt: 'Analyze this text...'
});

SDK Features

  • 📊 SQL Database (data)

    • Full SQL query support
    • Prepared statements
    • Transactions
    • Automatic migrations
  • 💾 Key-Value Store (store)

    • Fast caching
    • Session storage
    • Bulk operations
    • Prefix scanning
  • 📁 Media Storage (media)

    • File uploads/downloads
    • Image handling
    • Large file support
    • Metadata management
  • ⚙️ Configuration (config)

    • Environment variables
    • Encrypted secrets
    • Environment detection
    • Runtime configuration
  • 🤖 AI Integration (ai)

    • Built-in AI capabilities
    • Multiple model support
    • Easy integration

Development

To work on the CLI itself:

cd packages/cli
pnpm install
pnpm build

File Watching Details

The dev command uses chokidar for file watching:

Ignored Patterns:

  • node_modules/**
  • .git/**
  • .deploybay/**
  • dist/**
  • build/**
  • **/*.log

Watch Features:

  • Debounced rebuilds (500ms)
  • Manual refresh with Ctrl+R
  • Automatic port management
  • Clean shutdown handling
  • Terminal integration