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

docwizard

v2.1.0

Published

Scan your project and get a plain-language user guide instantly. Powered by Groq.

Downloads

1,103

Readme

docwizard

Scan your project and get a plain-language USER_GUIDE.md in seconds.

docwizard reads your source code - folder structure, roles, sections, auth - and generates a clean user guide your clients can actually read. No templates, no copy-pasting.

Powered by Groq - free, no credit card required.


Requirements

Installation

npm install -g docwizard

Usage

# Scan the current directory and generate USER_GUIDE.md
docwizard

# Scan a specific project
docwizard --scan /path/to/your/project

# Generate a file with a custom name
docwizard my-guide.md

# Combine both
docwizard my-guide.md --scan /path/to/your/project

# Update to the latest version
docwizard --update

# Show available commands
docwizard --help

The first time you run it, docwizard will ask for your Groq API key and save it to ~/.docgen/config.json. You won't be asked again.

What it detects automatically

  • Framework - React, Next.js, Vue, Nuxt, Svelte, Angular, Express
  • Sections and subsections - from your pages, views, screens, scenes, or routes folders
  • User roles - from role checks in your code (role === "admin", rol === "profesor", etc.)
  • Auth - login and logout from file names, folder names, and code patterns
  • Project name and summary - from package.json and README.md

Questions are only asked for what the scanner cannot infer.

Demo

$ docwizard --scan ./my-app

docwizard
Scans your project and generates a plain-language user guide.

✔ Guide language: English
  Scanning /home/user/my-app...
  ✓ Scan complete.
  Name: Aula Joven
  Roles: admin, estudiante, profesor
  Login detected.
  Sections: Admin (Calendario, Estudiantes, Grupos, Profesores) | Estudiante (Actividades, Calendario, Material, Materias) | ...

✔ Project name: Aula Joven
✔ Support contact: (optional) [email protected]

  Generating guide... done

  ✓ USER_GUIDE.md written.

Supported languages

Type the language name when prompted:

Spanish, English, French, Portuguese, Chinese, Japanese, German, Italian...

The guide will be written entirely in that language. The CLI prompts are available in Spanish and English - other languages fall back to English.

Supported frameworks

| Framework | Section detection | |-----------|------------------| | React | pages/, views/, screens/, scenes/, layouts/ | | Next.js | app/, pages/ | | Vue / Nuxt | views/, pages/ | | Svelte | routes/ | | Angular | *.component.ts files | | Express | routes/ |

Project structure

src/
├── index.ts              # Entry point - arg parsing, orchestration
├── cli/
│   ├── prompts.ts        # Terminal input functions
│   └── setup.ts          # First-run API key setup
├── core/
│   ├── builder.ts        # Data types and markdown renderer
│   ├── generator.ts      # Groq API call and prompt builder
│   └── scanner/
│       ├── index.ts      # Scan orchestrator
│       ├── detect.ts     # Framework, roles, auth, name detection
│       └── sections.ts   # Section and subsection detection
└── config/
    └── config.ts         # Read/write ~/.docgen/config.json

Running locally

git clone https://github.com/rodrixdere/docgen.git
cd docwizard
npm install
npm run dev -- --scan /path/to/project

Roadmap

| Version | Feature | |---------|---------| | v2.1.0 | --help command | | v2.2.0 | --reset-key to change your Groq API key, --lang flag to skip the language prompt | | v2.3.0 | Scanner improvements - more role patterns, more frameworks | | v3.0.0 | README generator | | v4.0.0 | Document generator | | v5.0.0 | Multiple AI providers - Claude, OpenAI, DeepSeek, and more | | v6.0.0 | Multi-format output - .pdf, .docx, .txt | | v7.0.0 | Support for more languages - Python, PHP, Ruby, Java/Kotlin, C#, Go | | v8.0.0 | TBD - based on user feedback |

License

MIT