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

dev3000

v0.0.157

Published

AI-powered development tools with browser monitoring and MCP server integration

Readme

d3k (dev3000)

d3k terminal interface

A debugging assistant that captures everything happening in your web app during development - server logs, browser events, network requests, and automatic screenshots - organized in a timeline that AI can understand.

Quick Start

npm install -g dev3000
d3k

Select an AI agent (Claude, Codex, etc.) and start debugging. Tell your agent: "fix my app"

Requirements

  • Node.js >= v22.12.0
  • tmux (for split-screen mode with AI agents)

What It Does

d3k runs your development server and monitors it in a browser, capturing:

  • Server logs and console output
  • Browser console messages and errors
  • Network requests and responses
  • Automatic screenshots (navigation, errors, interactions)
  • User interactions (clicks, form submissions)

Everything is saved to timestamped logs that AI assistants can read to understand what went wrong and suggest fixes.

CLI Commands

Main Command

d3k                    # Start d3k with agent selection prompt
d3k --with-agent claude  # Start with Claude in split-screen mode
d3k --no-agent         # Start d3k standalone (no agent)

Diagnostic Commands

d3k errors             # Show recent errors (browser + server combined!)
d3k errors -n 20       # Show last 20 errors
d3k errors --context   # Show interactions before each error (for replay)
d3k errors --all       # Show all errors from the session

d3k logs               # Show recent logs (browser + server combined)
d3k logs --type browser  # Show only browser logs
d3k logs --type server   # Show only server logs
d3k logs -n 100        # Show last 100 lines

d3k fix                # Deep analysis of application errors
d3k fix --focus build  # Focus on build/compilation errors
d3k fix --time 30      # Analyze last 30 minutes (default: 10)

d3k crawl              # Discover URLs by crawling the app
d3k crawl --depth all  # Exhaustive crawl (default: 1 level)

d3k find-component "nav.header"  # Find React component source
d3k find-component "[data-testid='button']"

d3k restart            # Restart the development server (rarely needed)

Other Commands

d3k skill [name]       # Get skill content or list available skills
d3k upgrade            # Upgrade d3k to the latest version
d3k agent-browser      # Run the bundled agent-browser CLI
d3k cloud              # Cloud-based tools using Vercel Sandbox

Options

d3k --help             # Show all options

| Option | Description | |--------|-------------| | -p, --port <port> | Development server port (auto-detected) | | -s, --script <script> | Script to run (e.g. dev, main.py) | | -c, --command <command> | Custom command (overrides auto-detection) | | --browser <path> | Path to browser executable (Chrome, Arc, etc.) | | --profile-dir <dir> | Chrome profile directory | | --servers-only | Run servers only, skip browser launch | | --headless | Run browser in headless mode (for CI) | | --debug | Enable debug logging (disables TUI) | | -t, --tail | Output logfile to terminal (like tail -f) | | --no-tui | Disable TUI, use standard terminal output | | --with-agent <cmd> | Run agent in split-screen mode (requires tmux) | | --no-agent | Skip agent selection, run standalone | | --plugin-react-scan | Enable react-scan performance monitoring | | --date-time <format> | Timestamp format: 'local' or 'utc' |

How It Works

  1. Start d3k - It detects your project type and starts the dev server
  2. Browser monitoring - A browser opens and monitors your app via Chrome DevTools Protocol
  3. Capture everything - Logs, errors, network requests, screenshots are saved
  4. AI reads logs - Your AI agent can read ~/.d3k/{project}/d3k.log to understand issues
  5. Fix with context - The AI has full context to suggest accurate fixes

File Locations

| What | Where | |------|-------| | Logs | ~/.d3k/{project}/d3k.log | | Screenshots | ~/.d3k/{project}/screenshots/ | | Chrome profile | ~/.d3k/{project}/chrome-profile/ | | Session info | ~/.d3k/{project}/session.json | | Crash logs | ~/.d3k/crash.log |

Browser Options

Chrome (Default)

d3k launches Chrome by default. Each project gets a dedicated Chrome profile that preserves login state, cookies, and local storage.

Arc Browser

d3k --browser '/Applications/Arc.app/Contents/MacOS/Arc'

Other Chromium Browsers

# Brave
d3k --browser '/Applications/Brave Browser.app/Contents/MacOS/Brave Browser'

# Edge
d3k --browser '/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge'

Servers Only Mode

Skip browser monitoring entirely:

d3k --servers-only

Headless Mode

For CI/CD environments:

d3k --headless

Split-Screen Mode (tmux)

d3k can run alongside your AI agent in a split-screen terminal using tmux:

d3k --with-agent claude    # Claude Code
d3k --with-agent codex     # OpenAI Codex
d3k --with-agent opencode  # OpenCode

Requirements:

  • tmux installed (brew install tmux on macOS)

Controls:

  • Ctrl+B Left/Right - Switch focus between panes
  • Ctrl+C in either pane - Exit both

Supported Frameworks

d3k works with any web framework:

  • JavaScript/TypeScript: Next.js, Vite, Create React App, Vue, Svelte, Astro
  • Python: Django, Flask, FastAPI
  • Ruby: Rails
  • Any other web framework with a dev server

FAQ

Does this work with Cursor, Windsurf, etc.?

Yes! d3k works with any AI assistant that can read files. Point your AI to the log file at ~/.d3k/{project}/d3k.log.

How do I stop d3k?

Ctrl+C stops both d3k and your development server.

Where are screenshots saved?

Screenshots are saved to ~/.d3k/{project}/screenshots/ with timestamps.

What if d3k crashes?

Check ~/.d3k/crash.log for details. Run with --debug for more verbose output.

Development

# Install dependencies
bun install

# Run locally
bun run dev

# Build
bun run build

# Test
bun run test

# Lint
bun run lint

Contributing

We welcome contributions! Please see our contributing guidelines.

License

MIT