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

nuxt-awesome-docs

v0.1.13

Published

Beautiful, filesystem-based documentation system for Nuxt applications with hierarchical navigation and markdown support

Downloads

74

Readme

nuxt-awesome-docs

npm version npm downloads License Nuxt

Beautiful, filesystem-based documentation system for Nuxt applications.

Features

  • Filesystem-based: Organize your docs as markdown files in content/docs/
  • Hierarchical Navigation: Support for nested categories and subcategories
  • Optional Frontmatter: Works with plain markdown - auto-extracts titles from headings
  • Automatic Ordering: Use numeric prefixes (01.getting-started/) for ordering
  • Beautiful UI: Built on Nuxt UI v3 for a modern, polished look
  • Search: Full-text search across all documentation
  • Dark Mode: Automatic dark mode support
  • Responsive: Mobile-friendly design with collapsible sidebar
  • Table of Contents: Auto-generated TOC from headings
  • Previous/Next Navigation: Navigate between docs seamlessly
  • Reading Time: Automatic reading time estimates
  • Markdown Extensions: Support for callouts (info, tip, warning, danger)

Quick Setup

Install the module:

npx nuxi module add nuxt-awesome-docs

Add to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: ['@nuxt/ui', 'nuxt-awesome-docs'],

  awesomeDocs: {
    basePath: '/docs',
    title: 'My Documentation',
    description: 'Documentation for my project',
    version: '1.0.0',
    github: 'https://github.com/daviunx/nuxt-awesome-docs'
  }
})

Create your docs in content/docs/:

content/
  docs/
    _config.yml
    01.getting-started/
      01.introduction.md
      02.installation.md
    02.guides/
      01.configuration.md

Configuration

Module Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | basePath | string | '/docs' | Base URL path for documentation | | contentDir | string | 'content/docs' | Directory containing markdown files | | title | string | 'Documentation' | Site title | | description | string | 'Documentation for your project' | Site description | | version | string | '1.0.0' | Version string | | github | string | '' | GitHub repository URL | | tableOfContents | boolean | true | Show table of contents | | previousNext | boolean | true | Show prev/next navigation | | feedback | boolean | true | Show feedback section | | readingTime | boolean | true | Show reading time | | search | boolean | true | Enable search |

Content Structure

Use numeric prefixes to control ordering:

  • 01.getting-started/ appears before 02.guides/
  • 01.introduction.md appears before 02.installation.md

The numeric prefix is stripped from URLs.

Frontmatter (Optional)

Frontmatter is optional. If not provided, the module will:

  • Extract the title from the first # Heading in the document
  • Extract the description from the first paragraph after the heading
  • Use default values for other fields
---
title: Page Title
description: Brief description
icon: i-heroicons-document-text
tags:
  - tag1
  - tag2
lastUpdated: 2025-01-15
---

Index Files

Both index.md and README.md are treated as index pages for their directory:

guides/
  README.md       # Index page for /docs/guides
  configuration.md

Callouts

Use callout blocks in your markdown:

:::info
Informational note
:::

:::tip
Helpful tip
:::

:::warning
Warning message
:::

:::danger
Critical warning
:::

Components

The module provides auto-imported components:

  • DocsHeader - Page header with breadcrumbs
  • DocsSidebar - Navigation sidebar
  • DocsMarkdown - Markdown renderer
  • DocsCallout - Alert/callout component
  • DocsTableOfContents - Table of contents
  • DocsNavCategory - Navigation category

Composables

useDocs()

const {
  docs,           // All documentation items
  categories,     // Category tree
  currentDoc,     // Currently viewed document
  isLoading,      // Loading state
  error,          // Error state
  loadDocs,       // Load all docs
  loadDoc,        // Load single doc
  searchDocs,     // Search docs
} = useDocs()

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

License

MIT License