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

doxla

v0.7.3

Published

Improve documentation discoverability within repos

Readme

doxla

AI-Agent Readiness

Improve documentation discoverability within repos. Doxla discovers all .md and .mdx files in your repository, builds a beautiful docs viewer, and deploys it to GitHub Pages.

Why?

Documentation is most valuable when it lives next to the code it describes — but in-repo markdown has a discoverability problem. Files get buried in directory trees, raw markdown is hard to read in editors, and preview plugins vary by IDE.

Meanwhile, AI coding assistants (Claude Code, Copilot, Cursor) work with what's in the repository. Docs in Notion or Google Docs are invisible to them. In-repo markdown is context they can read and act on.

Doxla bridges the gap: keep your docs as .md or .mdx files in your repo (where both humans and AI agents can find them), and Doxla turns them into a readable, searchable site.

Read the full rationale: Why Doxla?

Quick Start

Deploy to GitHub Pages

Run this in your repo to set up automatic deployment:

npx doxla init

This creates a GitHub Actions workflow that builds and deploys your docs on every push to main.

Important: You must enable GitHub Pages in your repo settings before the workflow will deploy:

  1. Go to Settings > Pages
  2. Under Source, select GitHub Actions
  3. Commit and push — the workflow handles the rest

One-click install with Kerex

Install Doxla into any GitHub repository — no local setup required:

Kerex it!

Paste your repo URL and Kerex will open a pull request with the Doxla workflow and config. Works with public and private repositories.

Build locally

npx doxla build

This discovers all markdown and MDX files, builds a static docs site, and outputs it to doxla-dist/.

Features

  • Automatic .md and .mdx file discovery (respects .gitignore-style patterns)
  • MDX support with built-in components (<Callout>) and JSX expressions
  • Beautiful React-based docs viewer with sidebar navigation
  • Full-text search across all documents
  • Syntax highlighting for code blocks
  • GitHub Flavored Markdown (tables, task lists, strikethrough)
  • Responsive layout
  • Zero configuration required

Custom Components

Doxla supports custom React components in MDX files. Create .tsx components in docs/components/ (or a configured directory), and they become available in all your .mdx files automatically. Components can use the useDoxla() hook to access the current theme.

See Custom Components for a full guide and Configuration for all config options.

CLI Options

doxla init

Creates .github/workflows/doxla.yml for automatic GitHub Pages deployment.

doxla build

| Option | Default | Description | |--------|---------|-------------| | -o, --output <dir> | doxla-dist | Output directory | | -r, --root <dir> | . | Root directory to scan for markdown | | --base-path <path> | / | Base path for GitHub Pages (e.g. /my-repo) |

How It Works

  1. Discover - Scans your repo for .md and .mdx files (excluding node_modules, .git, etc.)
  2. Manifest - Reads each file, extracts titles, and generates a JSON manifest
  3. Build - Copies the built-in React app template, injects the manifest, and runs vite build
  4. Output - Produces a static site ready for any hosting

Development

pnpm install
pnpm build        # Build the CLI
pnpm test         # Run tests

License

MIT