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

@the-andb/cli

v1.0.0

Published

CLI tool for the Andb Orchestrator - Database migration and comparison

Readme

@the-andb/cli

The official Command-Line Interface for the Andb Orchestrator.

Powerful Orchestration: Built on top of @the-andb/core, this tool provides the andb command for interactive setup, script generation, and professional database synchronization workflows.

npm License


🚀 Installation

You can install the CLI globally:

npm install -g @the-andb/cli

Or run it directly without installation using npx:

npx andb init

(Note: npx andb is also available if you have @the-andb/core installed in your project)


📦 CLI vs. Core: Which one to choose?

| Feature | @the-andb/cli (The Orchestrator) | @the-andb/core (The Brain) | | :-------------- | :-------------------------------------- | :------------------------------------ | | Primary Use | End-user tool for schema management | Base library for building on top | | Interactive | ✅ Yes (andb init) | ❌ No (Raw CLI only) | | Automation | ✅ Auto-generates npm scripts | ❌ Provide modules for manual scripts | | Ideal For | Developers wanting rapid setup | DevOps specialists building pipelines |


⚡️ Quick Start

1. Initialize

Run the high-fidelity interactive setup to create your orchestration configuration:

cd your-project
andb init

This will generate an andb.yaml file containing your environment and credential mappings.

2. Generate Workflow Scripts

Auto-generate optimized npm scripts to bake Andb into your package.json:

andb generate

3. Execution

Run your newly generated commands to keep your schemas in sync:

# Export current DDL from DEV
npm run export:dev

# Compare STAGE with DEV (Schema Intelligence)
npm run compare:stage

# Execute migration to PRODUCTION
npm run migrate:prod

🏗️ The Trinity Architecture

The Andb is built as a three-part ecosystem that works together seamlessly:

  1. @the-andb/core: The "Brain" - engine for diffing, parsing, and execution.
  2. @the-andb/cli: The "Automation" - for CI/CD and terminal-heavy workflows.
  3. The Andb App: The "Intuition" - a premium desktop interface.

🔧 Commands

Discovery & Setup

  • andb init: Interactive configuration builder.
  • andb generate (alias gen): Synchronize package.json with your andb.yaml flow.
  • andb helper: List all available commands and utility tools.

Database Operations

  • andb export: Snapshot your current schema (Tables, Views, SPs, etc.).
  • andb compare: Intelligence engine to detect structural mutations between environments.
  • andb migrate:new: Deploy newly created objects.
  • andb migrate:update: Sync existing object modifications.
  • andb monitor: Real-time database health monitoring (Processlist, Connections, etc.).

📊 Support


Keep Going. Keep Syncing.
MIT © The Andb