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

docboot

v0.3.0

Published

Ultra-fast zero-config Markdown documentation generator with local client search, soft SPA navigation, and modern developer aesthetics

Readme

Docboot

Turn an existing Markdown folder into production-ready documentation.
Don't create a docs project. Point Docboot at your Markdown.

npx docboot .

npm version license tests


💡 Why Docboot?

Traditional documentation frameworks require initializing a dedicated frontend application, configuring complex bundlers (Vite, Webpack, Astro), managing JavaScript framework dependencies, and moving your documentation files into framework-specific folder structures.

Docboot is different:

Traditional docs tools:
  npm create docs-app ──► Configure framework ──► Move files ──► Maintain dependencies

Docboot workflow:
  cd your-project ──► npx docboot .
  • No separate docs project to scaffold and maintain
  • No framework setup (React, Vue, or JSX)
  • No file migration — point directly at your existing Markdown directory
  • No required configuration — sensible defaults for routes, navigation, search, and themes

⚡ Core Pillars

1. Zero-Config by Default

Point Docboot at any Markdown folder. Clean URLs, numeric prefix sorting, hierarchical sidebars, breadcrumbs, table-of-contents scroll spy, and search indexes are built automatically.

2. Static by Default

Markdown files and code blocks are compiled ahead of time into portable, standalone static HTML with zero client-side parser dependencies.

3. In-Browser Local Search

No external search services and no per-query network requests. The pre-compiled index is loaded on demand and queried locally in memory with MiniSearch (Cmd + K).

4. Built-in Docs Tooling

Validate internal cross-links, missing images, and route conflicts with docboot doctor, and inspect documentation metrics with docboot stats.


🚀 Quick Start

1. Local Development

Start the development server with live reload:

cd my-project
npx docboot .

Or target a specific folder and open your browser automatically:

npx docboot ./docs -o

2. Static Production Build

Compile standalone static assets to ./dist:

npx docboot build

Preview compiled output locally:

npx docboot serve

🧩 Rich Primitives Without MDX

Build expressive technical documentation using native Markdown directives without JSX:

:::tabs group="package-manager" ::tab npm

npm install docboot

::tab pnpm

pnpm add docboot

:::

  • Callouts: :::note, :::tip, :::warning, :::danger, :::info
  • Tabs & Synced Groups: Synchronized tab selection across articles with group="..."
  • Code Groups: Tabbed multi-language snippets (:::code-group)
  • Collapsible Details: Native accessible <details> sections (:::details)
  • Mermaid Diagrams: Interactive flowcharts and sequence graphs with dark/light mode awareness
  • Safe Embeds: Sandboxed video and interactive demos with strict domain allowlists
  • Galleries & Lightbox: Responsive image grids and zoom-in lightbox modals

🩺 Built-in Diagnostics & Tooling

docboot doctor

Inspects documentation health and flags broken links, anchor mismatches, missing images, and route conflicts:

docboot doctor
  ▲ Docboot Doctor — Health Check

  ✔ 12 pages scanned
  ✔ 48 internal links verified
  ✔ 8 local image references verified
  
  Found 0 errors in 18ms.

docboot stats

Analyzes documentation metrics, bundle weights, and cache hit rates:

docboot stats

docboot setup github

Generates an official GitHub Actions workflow (.github/workflows/docs.yml) for publishing to GitHub Pages:

docboot setup github

🛠️ CLI Reference

| Command | Description | | :--- | :--- | | docboot [dir] | Starts local development server with SSE live reload | | docboot build [dir] | Compiles static HTML and assets to dist/ | | docboot serve [dir] | Serves the static dist/ folder locally | | docboot doctor [dir] | Diagnoses broken links, missing assets, and route collisions | | docboot stats [dir] | Inspects page/word counts, bundle weights, and build duration | | docboot setup github | Generates GitHub Actions workflow for GitHub Pages | | docboot generate assets| Generates SVG favicons, social preview banners, and PWA manifests | | docboot clean [dir] | Clears the local .docboot/ incremental cache folder |


⚙️ Configuration (docboot.config.js)

Docboot works with zero configuration. When customization is required, create an optional docboot.config.js:

export default {
  title: "My Project Documentation",
  description: "High-performance developer documentation",
  docs: "./docs",
  out: "./dist",
  repo: "https://github.com/org/my-project",
  theme: {
    preset: "zinc",          // "zinc" | "ocean" | "emerald" | "violet" | "amber" | "rose"
    defaultMode: "system",   // "system" | "dark" | "light"
    themeToggle: true,       // Dark/light mode switcher
    presetMenu: true,        // Palette and font customizer
    fontSizeControl: true    // A- / A+ reading font-size stepper
  },
  search: {
    fuzzy: 0.2,
    prefix: true,
    maxResults: 10
  },
  pwa: true,
  analytics: {
    google: { id: "G-XXXXXXXXXX" },
    plausible: { domain: "docs.example.com" }
  }
};

📚 Complete Documentation

Explore the full documentation site at https://litepacks.github.io/docboot/:


📄 License

MIT © 2026 Docboot