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

gorav-readme-generator

v1.1.10

Published

This tool automatically generates README.md files for your projects by analyzing your codebase and using Google's Gemini API.

Readme

Gorav README Generator

Easily generate README.md files for your projects by analyzing your codebase using the Gemini API.


Installation

1. Install the Package

Run the following command in your terminal:

npm install gorav-readme-generator

Alternatively, you can install it globally:

npm install -g gorav-readme-generator
  1. Set Up Your Project Create a new .js file in your project directory:
touch filename.js
  1. Import and Use the Generator Add the following code to your .js file:
import { generateReadme } from "gorav-readme-generator";

generateReadme();
  1. Configure the API Key Create a .env file in your project directory and add your Gemini API key:
GEMINI_API_KEY="your-gemini-api-key"
  1. Run the Generator Run the .js file you created, and the package will generate a README.md file for your project.

Check out a sample README.md file here:

https://github.com/Gorav22/Readme-generator-package/blob/main/SampleREADME.md

How it Works

  1. Collects Project Information: Prompts the user for project name and GitHub URL.
  2. Code Analysis: Scans the project directory for .js, .ts, .jsx, .tsx, and .py files (excluding node_modules, dist, and build directories). Concatenates the content of these files.
  3. Gemini API Integration: Sends the combined code content to the Gemini API to analyze the project and generate README content.
  4. README Generation: Uses the analysis from the Gemini API to create a structured README.md file, including sections like Introduction, Installation, Features, and more. If the structured generation fails, it writes the raw Gemini output to README.md.

Dependencies

  1. glob: For file pattern matching.
  2. fs: For file system operations.
  3. inquirer: For interactive command-line prompts.
  4. @google/generative-ai: For interacting with the Gemini API.
  5. dotenv: For loading environment variables.