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

@cueframe/autodocs

v0.1.4

Published

AI-powered documentation generator using local CLI tools — no API keys required

Readme

autodocs

npm CI License: MIT

AI-powered documentation generator. Reads your source code, writes MDX docs, and serves them with a beautiful docs site — no API keys required.

Uses the AI CLI tools you already have installed (Claude Code, Codex, or Gemini CLI) via your existing subscription.

Install

npm install -g @cueframe/autodocs

Or run directly with npx:

npx @cueframe/autodocs

Quick start

autodocs init
autodocs generate
autodocs dev

How it works

  1. init — creates autodocs.config.json and a docs/ directory
  2. generate — spawns your AI CLI to read source code and write MDX documentation
  3. dev — starts a local preview at localhost:3000
  4. build — builds the docs site for deployment

The generated docs site includes full-text search, dark mode, OG images, and LLM-friendly routes (/llms.txt).

Prerequisites

At least one AI CLI installed:

| CLI | Install | |-----|---------| | Claude Code | npm install -g @anthropic-ai/claude-code | | Codex | npm install -g @openai/codex | | Gemini CLI | npm install -g @google/gemini-cli |

Configuration

autodocs.config.json:

{
  "output": "docs",
  "include": ["src/**"],
  "exclude": ["**/test*", "**/node_modules/**", "**/dist/**"],
  "theme": "black",
  "title": "My Project",
  "github": {
    "user": "your-username",
    "repo": "your-repo"
  }
}

Options

| Field | Default | Description | |-------|---------|-------------| | output | "docs" | Directory for generated MDX files | | include | ["src/**"] | Glob patterns for source files to document | | exclude | ["**/test*", ...] | Glob patterns to skip | | theme | "black" | Fumadocs theme: black, neutral, ocean, purple, dusk, catppuccin, vitepress, solar, emerald, ruby, aspen | | title | "Documentation" | Site title shown in nav and OG images | | github | — | GitHub repo for header link and "Edit on GitHub" | | instructions | — | Additional instructions for the AI when generating docs |

CLI usage

# Generate docs (incremental — only updates changed files)
autodocs generate

# Force regenerate all docs
autodocs generate --force

# Use a specific AI CLI
autodocs generate --cli claude

# Start local preview
autodocs dev

# Build for deployment
autodocs build

Features

  • Incremental generation — only regenerates docs when source files change (tracked via git)
  • Full-text search — built-in search powered by Fumadocs
  • Dark mode — automatic light/dark theme switching
  • OG images — auto-generated social preview images for every page
  • LLM routes/llms.txt and /llms-full.txt for AI consumption
  • 11 themes — choose from Fumadocs built-in themes
  • Any AI CLI — works with Claude Code, Codex, or Gemini CLI

Built with

License

MIT