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

ai-readme-cli

v1.2.0

Published

AI-powered README generator CLI tool

Downloads

7

Readme

AI README CLI

A command-line tool that generates professional README files for your projects using AI.

npm version License

Features

  • Local Analysis: Analyzes your project structure, dependencies, and code to understand your project
  • AI-Powered Generation: Uses Google's Gemini AI to generate professional, comprehensive README files
  • Customizable Sections: Choose which sections to include (Introduction, Installation, Usage, etc.)
  • Multi-Language Support: Detects project language and provides relevant examples
  • Interactive CLI: Guided prompts for easy configuration and use
  • Existing README Refinement: Improve existing README files with AI feedback

Installation

Global Installation (Recommended)

npm install -g ai-readme-cli

Local Installation

npm install ai-readme-cli
npx ai-readme generate

Prerequisites

Usage

First Time Setup

Configure your Gemini API key:

ai-readme config --set-api-key YOUR_GEMINI_API_KEY

Generate README

Navigate to your project directory and run:

ai-readme generate

Or specify a different path:

ai-readme generate --path /path/to/your/project

Generate with Specific Sections

ai-readme generate --sections introduction features installation usage

Non-Interactive Mode

ai-readme generate --no-interactive --sections introduction installation usage

Refine Existing README

ai-readme refine

Or refine a specific file:

ai-readme refine --file EXISTING_README.md --output NEW_README.md

Available Sections

  • introduction: Brief overview and project description
  • features: List of key features and capabilities
  • installation: Step-by-step installation instructions
  • usage: Code examples and usage instructions
  • contributing: Guidelines for contributors
  • license: License information
  • tech-stack: Technologies and frameworks used
  • prerequisites: Required software and dependencies
  • configuration: Configuration options and environment variables
  • testing: Testing instructions and frameworks
  • deployment: Deployment guides and instructions

View all available sections:

ai-readme sections

Configuration

Set Default Sections

ai-readme config --set-sections introduction features installation usage license

View Current Configuration

ai-readme config --get-sections
ai-readme config --get-api-key

Interactive Configuration

ai-readme config

How It Works

  1. Project Analysis: The tool scans your project directory to understand:

    • Project structure and file organization
    • Primary programming language and dependencies
    • Package configuration (package.json, pyproject.toml, etc.)
    • Existing documentation and code samples
  2. AI Generation: Uses Google's Gemini AI with carefully crafted prompts to generate:

    • Professional, technical writing
    • Language-specific examples and instructions
    • Proper markdown formatting and structure
  3. Output: Generates a comprehensive README.md file tailored to your project

Examples

Basic Usage

# Generate README with default sections
ai-readme generate

# Generate README for a different project
ai-readme generate --path ../my-other-project

# Override existing README
ai-readme generate --overwrite

Advanced Usage

# Generate specific sections only
ai-readme generate --sections introduction installation usage --output CUSTOM_README.md

# Non-interactive mode with custom output
ai-readme generate --no-interactive --output docs/README.md

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Commit your changes: git commit -m 'Add amazing feature'
  5. Push to the branch: git push origin feature/amazing-feature
  6. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


Built with ❤️ using TypeScript and Google Gemini AI