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

@biz-hub/cli

v1.4.1

Published

Enterprise CLI for BizHub marketplace — manage your entire commerce operation from the terminal. Designed for developers, DevOps, and AI agent workflows.

Readme

@biz-hub/cli

Enterprise CLI for the BizHub marketplace. Manage products, orders, inventory, discounts, and analytics — all from your terminal. Built for developers, DevOps, and automation workflows.

npx @biz-hub/cli

Quick Start

# Set your credentials
export BIZHUB_API_URL=https://your-marketplace.com
export BIZHUB_AUTH_COOKIE="your-session-token"

# Show config
npx @biz-hub/cli config

# List products
npx @biz-hub/cli products list

# View pending orders
npx @biz-hub/cli orders list --status pending

# Check low stock
npx @biz-hub/cli inventory list --low-stock

Commands

products

# List all products
npx @biz-hub/cli products list
npx @biz-hub/cli products list --category electronics --limit 20 --sort price_asc

# Get single product
npx @biz-hub/cli products get wireless-headphones

# Create product
npx @biz-hub/cli products create \
  --name "Wireless Headphones" \
  --price 79.99 \
  --category electronics \
  --inventory 50

# Update product
npx @biz-hub/cli products update wireless-headphones \
  --price 69.99 --inventory 100

# Delete product
npx @biz-hub/cli products delete wireless-headphones --force

orders

# List orders
npx @biz-hub/cli orders list
npx @biz-hub/cli orders list --status pending

# Get order details
npx @biz-hub/cli orders get order-uuid-here

# Update order status
npx @biz-hub/cli orders update-status order-uuid-here --status completed

inventory

# View all inventory
npx @biz-hub/cli inventory list

# Show only low-stock items
npx @biz-hub/cli inventory list --low-stock

# Update stock count
npx @biz-hub/cli inventory update wireless-headphones --stock 150

discounts

# Apply discount
npx @biz-hub/cli discounts apply wireless-headphones --percent 20

# Remove discount
npx @biz-hub/cli discounts remove wireless-headphones

# List active discounts
npx @biz-hub/cli discounts list

analytics

# Show analytics dashboard
npx @biz-hub/cli analytics show

# Show customer data with LTV
npx @biz-hub/cli analytics customers

data

# List categories
npx @biz-hub/cli data categories

# List stores
npx @biz-hub/cli data stores

config

# Show current configuration
npx @biz-hub/cli config

Output Formats

Table (default)

Colored, formatted tables:

┌────────────────┬──────────────┬────────┬────────┐
│ Name           │ Category     │ Price  │ Stock  │
├────────────────┼──────────────┼────────┼────────┤
│ Headphones     │ electronics  │ $79.99 │  150   │
│ Leather Wallet │ accessories  │ $49.99 │   5    │
│ Cotton Shirt   │ clothing     │ $29.99 │   20   │
└────────────────┴──────────────┴────────┴────────┘

JSON

npx @biz-hub/cli products list --json
{
  "success": true,
  "data": {
    "count": 42,
    "products": [...]
  }
}

Exit Codes

| Code | Meaning | |------|---------| | 0 | Success | | 1 | Error (invalid args, API error, auth failure) |

Configuration

| Env Variable | Default | Description | |-------------|---------|-------------| | BIZHUB_API_URL | http://localhost:3001 | Marketplace API base URL | | BIZHUB_AUTH_COOKIE | — | Session auth cookie | | BIZHUB_API_KEY | — | API key (takes precedence) |

Config file: ~/.bizhub/config.json

MCP Server

For AI agent integration (Claude Desktop, Cursor, Copilot), use the MCP server instead:

npx @biz-hub/mcp-server

Development

# Install from source
git clone https://github.com/Klurien/bizhub-agent-framework.git
cd bizhub-agent-framework
npm install

# Build all packages
npx tsc -b packages/agent-kit packages/mcp-server packages/cli

# Run CLI directly
npx tsx packages/cli/src/index.ts products list

Requirements

  • Node.js >= 18

Related Packages

License

Proprietary — see LICENSE