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

sharewithagent

v0.1.0

Published

Visual feedback your coding agent can act on — capture any web page, point at elements, and hand your agent element-anchored comments (CSS selector + bounding box + element HTML + computed styles), not "something near (840, 312)."

Readme

ShareWithAgent

Visual feedback your coding agent can act on. Point at anything on a web page — ShareWithAgent hands your agent an element-anchored comment (CSS selector + bounding box + element HTML + computed styles), not "something near (840, 312)."

🌐 sharewithagent.com · open-source · agent-native


Four ways to use it — pick the one that fits

1. Terminal (for developers + coding agents)

npx sharewithagent annotate https://your.app

Captures the page, opens the annotator in your browser, and — when you click Share → Send to Agent CLI — writes feedback.json + feedback.md and returns them straight to your session. Use --json to print the payload to stdout for an agent/hook. Alias: swa.

2. Bookmarklet (no install)

Drag the Share with Agent button from sharewithagent.com to your bookmarks bar. Click it on any page → mark it up → Share to copy a link or download the review. Zero install; works on the live page you're looking at. (Some sites with a strict Content-Security- Policy block injected scripts — use the extension there.)

3. Browser extension (one click, any page)

Install the extension, click its toolbar icon on any page → it freezes the page exactly as you see it (logged-in, JS-rendered) → annotate → Share. Download it from sharewithagent.com.

4. Hosted (paste a URL)

On sharewithagent.com, paste a public URL → it captures the page for you → annotate in the browser. No install, nothing to run. (Public pages only.)


What you get back

Every comment is anchored to a real DOM element:

{
  "comment": "CTA contrast too low — fails WCAG AA",
  "author": "Nick",
  "anchor": {
    "selector": "main > section.hero > a.hero__cta",
    "boundingBox": { "x": 24, "y": 612, "w": 180, "h": 44 },
    "elementHtml": "<a class=\"hero__cta\">Start free</a>",
    "text": "Start free",
    "computedStyles": { "padding": "8px 16px", "background-color": "…", "color": "…" }
  }
}

Plus a compact, prompt-ready feedback.md an agent can consume directly.

How to annotate

  • Select text or Pin an element — a comment box opens right where you click.
  • Type, press ⌘↵ to save (or click Comment). Add your name once; teammates can reply.
  • Posted comments collapse into the side panel like Google Docs; click to expand.
  • Share: send to your agent's CLI, download the review as one self-contained .html for a teammate, or copy an agent-ready Markdown digest / structured JSON.

Keyboard: ⌘↵ save · Esc cancel · ⌘. toggle panel · v / p tools · hold peek · double- toggle.

Install the CLI globally (optional)

npm install -g sharewithagent
sharewithagent annotate https://your.app     # or: swa annotate …

Live capture needs a local Chrome/Chromium (auto-detected on macOS/Linux; override with SHAREWITHAGENT_CHROME=/path/to/chrome). Annotating a saved .html needs no browser.

Attribution

The in-page annotation bridge and its anchoring helpers are adapted from Plannotator by backnotprop, used under the MIT License. See viewer.html for the specific functions.

License

MIT — see LICENSE.