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

@jayanithu/readmi

v2.4.8

Published

Modern README generator powered by AI

Readme

📝 ReadMI

Modern AI-powered README generator that analyzes your codebase and creates professional documentation automatically.

✨ Features

  • 🔍 Smart Codebase Analysis - Automatically analyzes your project structure and source code
  • 🤖 AI-Powered Generation - Uses Google Gemini AI to generate comprehensive README files
  • 🌍 Multi-Language Support - Generate READMEs in 10+ languages
  • 🎯 Project-Aware - Extracts actual features and functionality from your code
  • Modern & Clean - Generates well-formatted, professional documentation
  • Zero Configuration - Works out of the box with minimal setup

📦 Installation

🛠️ Prerequisites

Before you begin, ensure you have:

  • Node.js (v14 or higher)
  • npm or yarn
  • Google AI API Key (Get one here)

⚡ Quick Start

1. Install ReadMI globally:

npm install -g @jayanithu/readmi

2. Verify installation:

readmi -v

You should see the version number displayed.

🔑 Getting Your Google AI API Key

  1. Visit Google AI Studio:

  2. Sign in:

    • Use your Google account to sign in
  3. Create API Key:

    • Click "Create API Key"
    • Select or create a Google Cloud project
    • Copy your API key
  4. Save your API Key:

    • When you first run readmi, you'll be prompted to enter your API key
    • Choose to save it for future use

⚠️ Important: Keep your API key secure and never commit it to version control.

🚀 Usage

📄 Generate README

Navigate to your project directory and run:

readmi

💡 Pro Tip: You can double-check your README at https://readmi.jayanithu.dev/editor

🌐 Select Language

Generate README in a specific language:

readmi --select-language

Or use the short form:

readmi -sl

🔄 Update Existing README

Smart update mode for maintaining your README:

readmi -u

Or use the long form:

readmi --update-readme

This will:

  • Detect outdated information (version mismatches, missing scripts, etc.)
  • Let you choose what to update (full update, selective sections, or version only)
  • Preserve custom sections you've added
  • Show a diff summary of changes

⚙️ Configuration

View Configuration

readmi config

Set Preferred Language

readmi config -l

Select Preferred Model

readmi config model

Remove Saved API Key

readmi config -r

Remove Preferred Model

readmi config -rm

Remove Preferred Language

readmi config -rl

📚 Commands Reference

Main Commands

| Command | Description | |---------|-------------| | readmi | Generate README for current project | | readmi -u | Update existing README (smart mode) | | readmi config | Manage configuration |

Options

| Option | Description | |--------|-------------| | -v, --version | Display version number | | -h, --help | Show help information | | --update | Update to latest version | | -u, --update-readme | Smart README update mode | | -sl, --select-language | Select README language |

Configuration Commands

| Command | Description | |---------|-------------| | readmi config -r | Remove saved API key | | readmi config -rm | Remove preferred model | | readmi config -rl | Remove preferred language | | readmi config -l | Set preferred language | | readmi config model | Select preferred AI model |

🌎 Supported Languages

ReadMI supports generating READMEs in the following languages:

• English (en)
• Spanish (es)
• French (fr)
• German (de)
• Chinese (zh)
• Japanese (ja)
• Portuguese (pt)
• Russian (ru)
• Hindi (hi)
• Arabic (ar)

⚙️ How It Works

1. Project Analysis 🔎

  • Scans your project directory
  • Reads package.json and configuration files
  • Analyzes source code structure
  • Detects dependencies and technologies

2. Code Understanding 💻

  • Reads key source files
  • Extracts features and functionality
  • Identifies project type (CLI, library, web app, etc.)
  • Detects environment variables and configuration

3. AI Generation 🤖

  • Uses Google Gemini AI models
  • Generates comprehensive documentation
  • Includes relevant sections based on project type
  • Formats with proper markdown syntax

4. Post-Processing 🧹

  • Cleans and formats the output
  • Ensures proper code block formatting
  • Adds project-specific badges
  • Creates professional presentation

🛠️ Troubleshooting

🔑 API Key Issues

If you encounter API key errors:

  • Verify your API key is correct
  • Check if the API key is saved: readmi config
  • Remove and re-enter: readmi config -r
  • Ensure you have internet connection

❌ Model Not Available

If a model is not available:

  • ReadMI will automatically try the next available model
  • Select a different model: readmi config model
  • Ensure your API key has access to Gemini models

🤝 Contributing

Contributions are welcome! Feel free to:

• Report bugs
• Suggest new features
• Submit pull requests
• Improve documentation

Visit our GitHub repository to contribute.

📄 License

MIT License - see LICENSE file for details

🆘 Support

GitHub Issues: Report issues
ReadMI Landing Page: readmi.jayanithu.dev
Author: jayanithu