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

promptotype

v0.1.1

Published

Browser overlay that lets you annotate UI elements and send structured feedback to AI coding agents

Readme

Promptotype

Point at UI elements in a running app, describe what should change, and send structured feedback to AI coding agents.

The Problem

When reviewing a vibe-coded app, the typical workflow is: take a screenshot, paste it into an AI CLI, and describe what to change. This is slow, imprecise, and limited to one element at a time.

Promptotype replaces that with point-and-click annotations that include real computed styles, batch multiple elements, and output structured markdown that AI agents can act on immediately.

Install

curl -fsSL https://raw.githubusercontent.com/niforiskollaros/promptotype/main/install.sh | bash

This installs the promptotype binary and registers /promptotype as a slash command for Claude Code, Codex, and Gemini CLI.

Quick Start

# Auto-detect a running dev server
promptotype

# Explicit URL
promptotype http://localhost:3000

# From Claude Code
/promptotype http://localhost:3000

How It Works

  1. Activate -- Press Cmd+Shift+D or click the floating button
  2. Inspect -- Hover elements to see highlights with box model visualization
  3. Select -- Click to see computed font, color, spacing, and alignment
  4. Annotate -- Write a prompt describing what should change
  5. Batch -- Repeat for as many elements as you want -- each gets a numbered pin
  6. Review -- Click "Review & Submit" to see all annotations in a side panel
  7. Submit -- Sends structured markdown directly to the AI agent (or copies to clipboard)

What Gets Extracted

For each selected element:

  • Font -- family, size, weight, line-height
  • Color -- text color, background color (as hex)
  • Spacing -- padding, margin (with box model visualization)
  • Alignment -- text-align, display, align-items

What the AI Agent Receives

## Design Annotations (2 elements)

### 1. `h2.card-title`
**Current styles:**
- Font: Inter, 14px, weight 600, line-height 1.5
- Color: #333333 (on background #FFFFFF)
- Margin: 0 0 8px 0
- Padding: 4px 8px

**Prompt:** Make this heading larger and bolder -- it should dominate the card

---

### 2. `div.sidebar`
**Current styles:**
- Padding: 8px 8px 8px 8px

**Prompt:** Increase padding to 16px, feels too cramped

CLI Options

promptotype [url] [options]

Options:
  --port <port>      Proxy server port (default: 4000)
  --no-open          Don't auto-open the browser
  --timeout <secs>   Auto-exit after N seconds
  --json             Output JSON instead of markdown
  --help, -h         Show this help

Keyboard Shortcuts

| Shortcut | Action | |----------|--------| | Cmd+Shift+D | Toggle Promptotype on/off | | Alt+Scroll | Traverse element depth (parent/child) | | Cmd+Enter | Save annotation (in popover) | | Escape | Close popover / close review panel / deactivate |

How It's Built

Single IIFE bundle (~66KB, ~14KB gzip) built with Vite. Vanilla TypeScript, zero framework dependencies. Works in any browser, on any app.

The CLI is a Bun-compiled binary that runs a proxy server between your browser and target app. It injects the overlay, handles annotation submissions via a session-token-authenticated API, and prints structured markdown to stdout for AI agents to consume.

Development

npm install
npm run dev          # Dev server with sample app on port 3333
npm run build        # Build dist/promptotype.iife.js
npm run build:cli    # Build CLI binary for current platform

License

ISC