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

aygaoua-readme-generator

v1.6.0

Published

A smart CLI tool that generates professional README.md files by auto-detecting project info from package.json and git config.

Readme

aygaoua-readme-generator

License Node npm

A smart CLI tool that generates professional README.md files by auto-detecting project info from package.json and git config — so you answer fewer questions.

✨ What's New in v1.6

  • 🎨 Colorful CLI — Styled banner, colored output, and animated spinner
  • 📋 Template Selection — Choose Minimal, Standard, or Detailed README styles
  • 😎 Emoji Headers — Optional emoji prefixes on section headings
  • 👀 Inline Preview — See your README before it's written to disk
  • 📜 More Licenses — ISC, MPL-2.0, LGPL-2.1, Unlicense added

Features

  • Auto-detection — Reads your package.json and git config to pre-fill project name, license, GitHub username, email, install & test commands.
  • 3 README templates — Minimal (clean & concise), Standard (balanced), Detailed (full-featured with Features, Roadmap, Acknowledgments).
  • Emoji section headers — Optionally prefix headings with thematic emoji (🚀 Installation, 📜 License, etc.).
  • Inline preview — Previews the first 20 lines of your README in the terminal before writing.
  • Input validation — Ensures required fields are filled and emails are valid.
  • Overwrite protection — Warns before replacing an existing file.
  • Custom output filename — Choose any .md filename you want.
  • License badges — Automatically adds a shields.io badge matching your license.
  • Dynamic sections — Skips the Tests section if no test command is detected.
  • Animated spinner — Smooth loading animation while generating.
  • Colored output — Beautiful chalk-powered CLI experience.

Installation

npm install -g aygaoua-readme-generator

Or run it directly with npx:

npx aygaoua-readme-generator

Usage

Navigate to the root of your project (where package.json lives) and run:

readme-gen

The tool will:

  1. Show a styled banner.
  2. Auto-detect project info from package.json and git config.
  3. Display what it found in a colored summary.
  4. Ask only the questions it couldn't answer automatically.
  5. Let you pick a template (Minimal / Standard / Detailed) and toggle emoji headers.
  6. Show an inline preview of the generated markdown.
  7. Generate a polished README.md (or any filename you choose) with a spinner animation.

CLI Options

| Flag | Description | | ----------------- | --------------------------- | | -h, --help | Show help message | | -v, --version | Show version number | | --no-preview | Skip the inline preview |

Templates

| Template | Description | | ---------- | ------------------------------------------------------------------ | | 📋 Standard | Balanced — Title, badges, TOC, Install, Usage, License, Contributing, Tests, Questions | | 📄 Minimal | Clean & concise — Title, badges, blockquote description, Install, Usage, License, Contributing, Tests, Questions | | 📚 Detailed | Full-featured — Everything in Standard + Features, Roadmap, Acknowledgments |

Example Output

The generated README includes these sections (depending on template):

  • Title with license badge
  • Description (blockquote in Minimal, heading in Standard/Detailed)
  • Features (Detailed only)
  • Table of Contents (Standard + Detailed)
  • Installation (with code block)
  • Usage
  • License
  • Contributing
  • Tests (with code block, if applicable)
  • Questions (with email + GitHub link)
  • Roadmap (Detailed only)
  • Acknowledgments (Detailed only)

Supported Licenses

MIT · Apache-2.0 · GPL-3.0 · BSD-3-Clause · ISC · MPL-2.0 · LGPL-2.1 · Unlicense · None

License

This project is licensed under the MIT license.

Contributing

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

Questions

For questions or issues, open an issue on GitHub.