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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mgks/docmd

v0.3.4

Published

Generate beautiful, lightweight static documentation sites directly from your Markdown files. Zero clutter, just content.

Readme

🚀 Why docmd?

Most documentation tools today are too heavy (React hydration, massive bundles) or require ecosystems you don't use (Python/Ruby).

docmd fills the gap. It is a native Node.js tool that generates pure, static HTML.

  • Blazing Fast: No hydration delay. Instant page loads.
  • 🔍 Offline Search: Powerful full-text search included automatically.
  • 🛠 Zero Config: Works out of the box with sensible defaults.
  • 🎨 Theming: Built-in light/dark modes and multiple themes (sky, ruby, retro).
  • 📦 Node.js Native: No Python, no Gemfiles. Just npm install.
  • 🧩 Rich Content: Built-in support for Callouts, Cards, Tabs, Steps, and Changelogs.

🏁 Quick Start

You don't need to install anything globally to try it out.

# 1. Initialize a new project
npx @mgks/docmd init my-docs

# 2. Enter directory
cd my-docs

# 3. Start the dev server
npm start

Dev server output:

                       
     _                 _ 
   _| |___ ___ _____ _| |
  | . | . |  _|     | . |
  |___|___|___|_|_|_|___|
  
   v0.x.x


🚀 Performing initial build for dev server...
✅ Generated sitemap at ./site/sitemap.xml
✅ Initial build complete.
👀 Watching for changes in:
    - Source: ./docs
    - Config: ./docmd.config.js
    - Assets: ./assets
    - docmd Templates: ./src/templates (internal)
    - docmd Assets: ./src/assets (internal)
🎉 Dev server started at http://localhost:3000
Serving content from: ./site
Live reload is active. Browser will refresh automatically when files change.

✨ Features

| Feature | Description | | :--- | :--- | | Markdown First | Standard Markdown + Frontmatter. No proprietary syntax to learn. | | Smart CLI | Intelligent config validation catches typos before they break your build. | | Custom Containers | Use ::: callout, ::: card, ::: steps, ::: tabs, ::: collapsible, ::: changelog, and more to enrich content. | | Smart Search | Built-in, offline-capable full-text search with fuzzy matching and highlighting. No API keys required. | | Diagrams | Create flowcharts, relationship diagrams, journey, piecharts, graphs, timelines and more with Mermaid. | | No-Style Pages | Create custom landing pages (highly customizable custom HTML pages) without theme constraints. | | Auto Dark Mode | Respects system preference and saves user choice. | | Plugins | SEO, Sitemap, and Analytics support included out-of-the-box. |

🆚 Comparison

How does docmd stack up against the giants?

| Feature | docmd | Docusaurus | MkDocs (Material) | Mintlify | | :--- | :--- | :--- | :--- | :--- | | Language | Node.js | React.js | Python | Proprietary | | Output | Static HTML | React SPA | Static HTML | Hosted / Next.js | | JS Payload | Tiny (< 15kb) | Heavy | Minimal | Medium | | Setup | ~2 mins | ~15 mins | ~10 mins | Instant (SaaS) | | Cost | 100% Free OSS | 100% Free OSS | 100% Free OSS | Freemium |

👉 Read the full comparison

📦 Installation

For frequent use, install globally:

npm install -g @mgks/docmd

Commands

  • docmd init - Create a new documentation project.
  • docmd dev - Start the live-reloading local server.
  • docmd build - Generate static files to site/ for deployment.

🎨 Themes

Switching themes is as easy as changing one line in your docmd.config.js.

module.exports = {
  theme: {
    name: 'sky', // Options: 'default', 'sky', 'ruby', 'retro'
    defaultMode: 'dark'
  }
}

🤝 Contributing

We welcome contributions! Please see our Contribution Guidelines for details.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

❤️ Support

This project is open source and free to use. If you find it valuable, please consider:

  1. ⭐️ Starring the repo on GitHub (it helps a lot!)
  2. Sponsoring the project to support ongoing development.

📄 License

Distributed under the MIT License. See LICENSE for more information.

{ github.com/mgks }

Website Badge Sponsor Badge