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

@ephem-sh/debugger

v0.3.3

Published

Dev-only observability for AI agent debugging. Captures browser and server-side logs, errors, network requests, and application state from your dev server. AI agents query this data through the `dbg` CLI.

Readme

@ephem-sh/debugger

Dev-only observability for AI agent debugging. Captures browser and server-side logs, errors, network requests, and application state from your dev server. AI agents query this data through the dbg CLI.

Preview — under active development.

Install

npm install -D @ephem-sh/debugger

Quick start (Vite + React)

// vite.config.ts
import { debuggerPlugin } from '@ephem-sh/debugger/vite'

export default defineConfig({
  plugins: [react(), debuggerPlugin()],
})
npx dbg status
npx dbg browser console
npx dbg browser network

Supported frameworks

| Framework | Adapter | |-----------|---------| | Next.js | @ephem-sh/debugger/nextjs | | React + Vite | @ephem-sh/debugger/vite | | Vue + Vite | @ephem-sh/debugger/vite | | SvelteKit | @ephem-sh/debugger/vite + /vite/sveltekit | | React Router v7 | @ephem-sh/debugger/vite + /vite/react-router | | Astro | @ephem-sh/debugger/vite + /vite/astro | | Nuxt | @ephem-sh/debugger/vite + /nitro | | Qwik | @ephem-sh/debugger/vite | | TanStack Start | @ephem-sh/debugger/vite + /vite/tanstack-start | | Waku | @ephem-sh/debugger/vite | | Angular | @ephem-sh/debugger/angular | | Express | @ephem-sh/debugger/express | | Hono | @ephem-sh/debugger/hono | | Elysia | @ephem-sh/debugger/elysia | | Fastify | @ephem-sh/debugger/fastify | | NestJS | @ephem-sh/debugger/nest | | AdonisJS | @ephem-sh/debugger/adonis | | Nitro | @ephem-sh/debugger/nitro |

CLI

dbg browser console          # browser console logs
dbg browser errors           # browser errors
dbg browser network          # fetch, xhr, websocket
dbg browser cookies          # document cookies
dbg browser storage          # localStorage + sessionStorage
dbg server console           # server console logs
dbg server errors            # server errors
dbg status                   # session info
dbg all --json               # everything as JSON

How it works

  1. Server instrumentation patches console.* and starts an IPC bridge
  2. Browser client (auto-injected) captures console, errors, network, cookies, storage
  3. CLI queries the session over IPC and returns structured output

All data in memory (ring buffers). Zero production footprint.

Other languages

License

MIT