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

run402

v1.20.0

Published

CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.

Downloads

4,156

Readme

run402 CLI

Command-line interface for Run402 — provision Postgres databases, deploy static sites, generate images, and manage agent allowances via x402 micropayments.

Installation

npm install -g run402

Or run without installing:

npx run402 <command>

Getting Started

# 1. Create a local agent allowance
run402 allowance create

# 2. Fund it with test USDC (Base Sepolia faucet)
run402 allowance fund

# 3. Deploy your app
run402 deploy --tier prototype --manifest app.json

Commands

run402 allowance

Manage your local agent allowance.

run402 allowance create    # Generate a new allowance
run402 allowance status    # Show address, network, funding status
run402 allowance fund      # Request test USDC from the faucet
run402 allowance export    # Print allowance address (for scripting)

run402 deploy

Deploy a full-stack app or static site.

run402 deploy --tier prototype --manifest app.json
run402 deploy --tier hobby --manifest app.json
cat app.json | run402 deploy --tier team

Tiers: prototype | hobby | team

Manifest format:

{
  "name": "my-app",
  "files": {
    "index.html": "<html>...</html>",
    "style.css": "body { margin: 0; }"
  },
  "env": {
    "MY_VAR": "value"
  }
}

run402 projects

Manage your deployed projects.

run402 projects list                              # List all projects
run402 projects sql <id> "SELECT * FROM users"   # Run SQL query
run402 projects rest <id> users "limit=10"       # REST API query
run402 projects usage <id>                        # Compute/storage usage
run402 projects schema <id>                       # Database schema
run402 projects renew <id>                        # Extend lease (pays via x402)
run402 projects delete <id>                       # Delete project

run402 image

Generate AI images via x402 micropayments.

run402 image generate "a startup mascot, pixel art"
run402 image generate "futuristic city at night" --aspect landscape
run402 image generate "portrait of a cat CEO" --aspect portrait --output cat.png

Options: --aspect square|landscape|portrait · --output <file>

Help

Every command supports --help / -h:

run402 --help
run402 allowance --help
run402 deploy --help
run402 projects --help
run402 image --help

Notes

  • Agent allowance stored at ~/.run402/allowance.json
  • Project credentials stored at ~/.run402/projects.json
  • Network: Base Sepolia (testnet) for prototype tier (free). Base mainnet or Stripe for paid tiers (hobby/team).
  • Payments are handled automatically — no manual signing required

License

MIT