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

pigeon-aeo

v0.1.1

Published

Install Pigeon in your codebase. Logs into your Pigeon account, picks a workspace, and applies the AEO/GEO fixes (schema, FAQ pages, atomic facts) it generated — framework-aware, on a review branch.

Readme

@pigeon/sdk — install Pigeon in your codebase

Pigeon measures where your site shows up in AI search (ChatGPT / Perplexity / Gemini), figures out what to fix, and generates the concrete fixes. This package lets Pigeon apply those fixes inside your codebase.

Quick start

npm i -g @pigeon/sdk

pigeon login     # log into your Pigeon account (paste a CLI token)
pigeon link      # pick which workspace this repo belongs to
pigeon apply     # write the generated fixes into your code
  • pigeon login opens your account, where you generate a one-time CLI token (Profile → “Connect your codebase”), and pastes it in. Creds are stored in ~/.pigeon/config.json.
  • pigeon link lists your workspaces and links this repo to one (.pigeon.json). If you only have one, it links automatically.
  • pigeon apply pulls the latest fix pack and is framework-aware. It detects your stack and applies the fixes into the real code:
    • Next.js (App Router) — adds a PigeonSchema component and wires it into your app/layout <body>; scaffolds app/faq/page.tsx (visible Q&A + FAQPage schema).
    • Astro — injects is:inline JSON-LD into your layout <head>; scaffolds src/pages/faq.astro.
    • Static index.html — injects into <head>; writes faq.html.
    • Any other stack — every artifact is written to ./pigeon/ with a guide. It then opens the changes on a pigeon/aeo-fixes branch (and a PR via gh if available) so you review before merging. Everything also lands in ./pigeon/ for reference.
  • pigeon status shows who you’re logged in as and the linked workspace.

Point the CLI at a self-hosted / local server with --base http://localhost:3000 (or PIGEON_BASE).

Runtime SDK (optional)

Serve the artifacts Pigeon generated at runtime, framework-agnostic:

import { createPigeon, renderJsonLd } from "@pigeon/sdk";

const pigeon = createPigeon({ apiKey: process.env.PIGEON_KEY! });
const route = await pigeon.getRoute("/pricing");
// inject renderJsonLd(route) into your <head>

Legacy build step

pigeon build --key $PIGEON_KEY --out public
# writes public/llms.txt + public/pigeon-artifacts.json

MIT