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

stage-ai

v0.2.2

Published

CLI client for Stage — a sandboxed React runtime for AI-generated applications

Readme

stage-cli

CLI client for Stage — a sandboxed React runtime for AI agents.

Write files, run commands, and render React components in Stage's virtual filesystem. From the terminal. From any agent.

Install

npm install -g stage-cli

Quick Start

# Create a session
stage new
# ✓ Session created: abc123
#   URL: http://localhost:3000/s/abc123

# Write a component
stage write /app/App.tsx ./App.tsx --session abc123

# Render it
stage render --session abc123

# Push a whole project
stage push ./my-app /app --session abc123

Every command requires --session <id>. Create one with stage new.

Commands

stage new

Create a new session. Each session gets its own isolated virtual filesystem.

stage new
stage new --json    # { "id": "abc123", "url": "http://localhost:3000/s/abc123" }
stage new -q        # prints just the ID

stage write <remote-path> [local-file] --session <id>

Write a file to Stage's virtual FS. Reads from a local file or stdin (-).

stage write /app/App.tsx ./App.tsx --session abc123
echo '<h1>Hi</h1>' | stage write /app/App.tsx - --session abc123

stage read <remote-path> --session <id>

Read a file from Stage.

stage read /app/App.tsx --session abc123

stage exec <command> --session <id>

Run a bash command in Stage's virtual filesystem.

stage exec "ls /app" --session abc123
stage exec "cat /app/App.tsx | grep import" --session abc123

stage render [entry] --session <id>

Trigger Stage to render a component. Defaults to /app/App.tsx.

stage render --session abc123                     # renders /app/App.tsx
stage render /app/Dashboard.tsx --session abc123   # renders specific entry

stage ls [path] --session <id>

List files in Stage's virtual FS.

stage ls --session abc123            # list /app
stage ls /app/src --session abc123   # list subdirectory

stage push <local-dir> [remote-dir] --session <id>

Push a local directory to Stage and auto-render.

stage push ./my-app --session abc123                    # push to /app
stage push ./src /app/src --session abc123              # push to specific dir
stage push ./my-app -e /app/Main.tsx --session abc123   # custom entry point
stage push ./my-app --no-render --session abc123        # skip auto-render

stage onboard

Add Stage instructions to CLAUDE.md or AGENTS.md so agents know how to use it.

stage onboard

For Agents

Every command supports --json for structured output:

stage ls --json --session abc123
# { "path": "/app", "files": ["/app/App.tsx"], "count": 1, "session": "abc123" }

stage exec "ls /app" --json --session abc123
# { "stdout": "App.tsx\n", "stderr": "", "exitCode": 0, "session": "abc123" }

Run stage onboard in your project to teach agents the commands.

Configuration

| Env var | Default | Description | |---------|---------|-------------| | STAGE_URL | http://localhost:3000 | Stage server URL |

Available Libraries in Stage

Components rendered in Stage have access to:

License

MIT