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

aipeek

v0.2.11

Published

Gives AI a peek into your running browser app — UI tree, console, network, errors, state

Readme

aipeek

Gives AI a peek into — and a hand on — your running browser app. Reads the UI tree (React fiber), semantic DOM, console, network, errors, and store state; drives the page (click, fill, press, wait, drag/drop, clipboard, screenshot) and profiles it. All over plain-text HTTP on your Vite dev server — zero resident context cost, unlike a browser MCP whose tool schemas sit in the model's context whether used or not.

It lives inside the open page (injected client + HMR channel), so it reads React/store internals a DOM-only driver can't and acts on the current tab with no separate browser process — and because it reads semantic text instead of parsing pixels, and batches a whole interaction into one round-trip, the model thinks once, not once per step. It does not open browsers, navigate, or run headless: it's the dev inner loop, not E2E (for that, use Playwright). The connection stays live on its own — it survives edits and dev-server restarts without dropping, so you never babysit it.

Install

npm i aipeek   # or pnpm add aipeek / bun add aipeek
// vite.config.ts
import { aipeekPlugin } from 'aipeek'

export default defineConfig({
  plugins: [aipeekPlugin()],
})

That's it. Start your dev server and your AI agent can see and drive the running app.

You don't memorize endpoints — the agent does

There's a whole surface of HTTP endpoints (read the UI, click, fill, profile, diff…), but it's for the machine, not you. On startup the plugin drops a one-line pointer into your repo's CLAUDE.md, and the full reference sits behind one URL — curl localhost:<port>/__aipeek/help. The agent reads that itself when it needs a command. You just tell it what you want changed in the app.

Two optional hints you can feed the agent

Both are pure extra context for the AI. Add them and it reads your app's state more precisely; skip them and everything still works — it just sees a bit less.

Store snapshots. Hand the agent your MobX/other stores so it can inspect live state:

window.__AIPEEK_STORES__ = { myStore, anotherStore }

Your app's state machine. Expose the variables that define "what screen am I on" so the agent reads them directly (and can check them mid-interaction):

window.__AIPEEK_SCREEN__ = () => ({ view, streaming, modal: openDialog })