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

@ardesh1r/astro-docs-minimal

v1.0.5

Published

Minimal, fast documentation theme for Astro. Build beautiful technical docs, API documentation, and knowledge bases with dark mode, responsive design, and zero configuration.

Readme

astro-docs-minimal

A minimal, fast, and beautiful documentation theme for Astro. Build stunning technical documentation, API docs, and knowledge bases with zero configuration.

npm version npm downloads

What is astro-docs-minimal?

A production-ready documentation theme designed for developers, technical writers, and open-source maintainers. Built with Astro for lightning-fast performance and Tailwind CSS for beautiful, customizable styling.

Target Audience

  • Developers building API documentation and technical guides
  • Open-source maintainers documenting projects and libraries
  • Technical writers creating knowledge bases and tutorials
  • SaaS companies building product documentation
  • Educators creating course materials and learning resources
  • Teams needing fast, maintainable documentation sites

What to Expect

Performance

  • Instant page loads with Astro's static site generation
  • Optimized bundle size (~8.2 KB gzipped)
  • Zero JavaScript by default (100% Lighthouse score possible)
  • Fast build times even with hundreds of pages

Developer Experience

  • Zero configuration - works out of the box
  • Markdown-based - write docs in familiar Markdown
  • Easy customization - Tailwind CSS for styling
  • Component-based - reusable Astro components
  • Type-safe - full TypeScript support

User Experience

  • Dark/light mode with automatic system detection
  • Responsive design - mobile, tablet, desktop
  • Accessible - WCAG compliant components
  • Fast navigation - instant sidebar and search
  • Beautiful typography - optimized for reading

Features

  • ✨ Clean, minimal design focused on content
  • 🌙 Dark/light mode with automatic system preference detection
  • 📱 Responsive sidebar navigation with mobile hamburger menu
  • 🎨 Beautiful syntax highlighting for code blocks
  • 📑 Auto-generated table of contents from headings
  • ⚡ Lightning-fast performance with Astro
  • 🎯 Easy to customize with Tailwind CSS
  • 🔍 SEO-friendly with proper meta tags and structured data
  • ♿ Accessible components following WCAG guidelines
  • 📦 Zero dependencies beyond Astro and Tailwind CSS

Quick Start

Option 1: Use as Astro Theme Template

npm create astro@latest -- --template Ardesh1r/astro-docs-minimal
cd my-docs
npm run dev

Option 2: Clone the Repository

git clone https://github.com/Ardesh1r/astro-docs-minimal.git
cd astro-docs-minimal
npm install
npm run dev

The site will be available at http://localhost:3000.

Option 3: Install as npm Package

npm install @ardesh1r/astro-docs-minimal

Then use it in your Astro project.

Project Structure

astro-docs-minimal/
├── src/
│   ├── components/        # Reusable components
│   ├── layouts/          # Page layouts
│   ├── pages/            # Page routes
│   │   └── docs/         # Documentation pages
│   ├── styles/           # Global styles
│   └── utils/            # Utility functions
├── public/               # Static assets
├── astro.config.mjs      # Astro configuration
├── tailwind.config.mjs   # Tailwind configuration
└── package.json

Usage

Creating Documentation Pages

Create new markdown files in src/pages/docs/:

---
layout: ../../layouts/DocsLayout.astro
title: Page Title
description: Page description
---

# Your Content

Your markdown content here...

Customizing Navigation

Edit the navigation array in src/components/Sidebar.astro:

const navigation = [
  { label: 'Getting Started', href: '/docs/getting-started' },
  { label: 'Your Page', href: '/docs/your-page' },
]

Customizing Colors

Edit tailwind.config.mjs:

colors: {
  primary: '#3b82f6',
  dark: '#1f2937',
}

Building for Production

npm run build

The built site will be in the dist/ directory.

Deployment

Deploy the dist/ folder to your hosting provider:

Components

  • Header - Top navigation with theme toggle
  • Sidebar - Left navigation menu
  • TableOfContents - Right sidebar with page headings
  • Footer - Footer with links
  • ThemeToggle - Dark/light mode toggle
  • MobileMenu - Mobile navigation toggle

Layouts

  • BaseLayout - Base layout for all pages
  • DocsLayout - Layout for documentation pages with sidebar and TOC

License

MIT - Feel free to use this theme for personal and commercial projects.

Support

For issues, questions, or suggestions, please open an issue on GitHub.

Credits

Built with Astro and Tailwind CSS.