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

ratingflow

v1.0.0

Published

Generate unique 5-star Google reviews for any business instantly — the fastest Google review generator powered by RatingFlow

Readme

RatingFlow — 5 Star Google Review Generator

npm version license downloads

The fastest and most flexible 5-star Google review generator for Node.js. Generate unique, natural-sounding positive Google reviews for any type of business — restaurants, hotels, salons, gyms, shops, tech services, and more. Built for developers who need bulk review content, reputation management tools, or automated review workflows.

Powered by RatingFlow — the all-in-one platform for Google review generation and online reputation management.


Why RatingFlow?

  • Instant 5-star reviews — Generate dozens of unique Google reviews in milliseconds
  • 🏢 10+ business categories — Restaurant, hotel, salon, gym, dentist, shop, auto, tech, beauty, and more
  • 🔄 Bulk generation — Create up to 50 reviews at once for any business type
  • ✍️ Natural language — Every review reads like it was written by a real customer
  • 🎯 Copy-paste ready — Formatted output you can use directly on Google Business
  • 📦 Zero dependencies — Lightweight, fast, and requires nothing extra

Installation

npm install ratingflow

Quick Start

const ratingflow = require('ratingflow');

// Generate one 5-star Google review for a restaurant
const review = ratingflow.generateReview({
  businessName: 'The Golden Fork',
  category: 'restaurant'
});

console.log(review);
// {
//   review: "The food here is absolutely incredible experience from start to finish. On top of that, the staff were incredibly friendly and helpful. Five stars, no question.",
//   stars: 5,
//   category: "restaurant",
//   businessName: "The Golden Fork",
//   generatedAt: "2025-01-15T10:30:00.000Z"
// }

Full API Reference

generateReview(options)

Generates a single 5-star Google review.

Options:

| Option | Type | Default | Description | |---|---|---|---| | businessName | string | null | Name of the business | | category | string | 'service' | Business category (see below) | | includeStaffPraise | boolean | true | Adds natural staff praise into the review | | includeLocationPraise | boolean | false | Adds location-related praise | | includeClosingTag | boolean | true | Appends a 5-star closing statement |

Returns: Object

const ratingflow = require('ratingflow');

const review = ratingflow.generateReview({
  businessName: 'Sunset Stays',
  category: 'hotel',
  includeStaffPraise: true,
  includeLocationPraise: true,
  includeClosingTag: true
});

console.log(review.review);
// "From the moment we checked in ... the location is super convenient and easy to find. Absolutely a 5 star experience."

generateBulkReviews(count, options)

Generates multiple unique 5-star Google reviews at once. Perfect for bulk review generation and reputation management workflows.

| Parameter | Type | Default | Description | |---|---|---|---| | count | number | 5 | Number of reviews to generate (max 50) | | options | object | {} | Same options as generateReview() |

Returns: Array<Object>

const ratingflow = require('ratingflow');

// Generate 10 unique 5-star reviews for a salon
const reviews = ratingflow.generateBulkReviews(10, {
  businessName: 'Glow Up Studio',
  category: 'salon'
});

reviews.forEach((r, i) => {
  console.log(`Review ${i + 1}: ${r.review}`);
});

generateFormattedReview(options)

Returns a copy-paste ready review string with a visual star rating. Great for directly pasting into Google Business Profile or any review platform.

Returns: string

const ratingflow = require('ratingflow');

const formatted = ratingflow.generateFormattedReview({
  businessName: 'QuickFix Tech',
  category: 'tech'
});

console.log(formatted);
// ★★★★★ (5/5)
// Business: QuickFix Tech
// The tech support here is genuinely knowledgeable and patient. ...

generateByCategoryMap(countPerCategory, options)

Generates a full map of reviews across every available business category. Useful for demos, testing, or building review dashboards.

| Parameter | Type | Default | Description | |---|---|---|---| | countPerCategory | number | 2 | Reviews to generate per category | | options | object | {} | Additional options passed through |

Returns: Object

const ratingflow = require('ratingflow');

const allReviews = ratingflow.generateByCategoryMap(3);

Object.entries(allReviews).forEach(([category, reviews]) => {
  console.log(`\n--- ${category.toUpperCase()} ---`);
  reviews.forEach(r => console.log(r.review));
});

getAvailableCategories()

Returns an array of all supported business categories for Google review generation.

Returns: Array<string>

const ratingflow = require('ratingflow');

console.log(ratingflow.getAvailableCategories());
// ['restaurant', 'hotel', 'salon', 'gym', 'dentist', 'shop', 'service', 'auto', 'tech', 'beauty']

Supported Business Categories

| Category | Use Case | |---|---| | restaurant | Cafes, restaurants, food trucks, bakeries | | hotel | Hotels, motels, Airbnb-style lodging | | salon | Hair salons, barbershops, beauty salons | | gym | Gyms, fitness studios, yoga studios | | dentist | Dental clinics, orthodontists | | shop | Retail stores, boutiques, markets | | service | General service businesses, consultants | | auto | Auto repair shops, car dealerships | | tech | IT support, computer repair, electronics | | beauty | Spas, skin care clinics, nail salons |


Real-World Examples

Build a Google Review Generator for a Local Business

const ratingflow = require('ratingflow');

function getReviewsForBusiness(name, category, count = 5) {
  return ratingflow.generateBulkReviews(count, {
    businessName: name,
    category: category,
    includeStaffPraise: true,
    includeLocationPraise: true
  });
}

const reviews = getReviewsForBusiness('Mario\'s Italian Kitchen', 'restaurant', 8);
reviews.forEach(r => console.log(`★★★★★ ${r.review}\n`));

Export Reviews to a JSON File

const ratingflow = require('ratingflow');
const fs = require('fs');

const reviews = ratingflow.generateBulkReviews(20, {
  businessName: 'Downtown Dental',
  category: 'dentist'
});

fs.writeFileSync('reviews.json', JSON.stringify(reviews, null, 2));
console.log('20 Google reviews saved to reviews.json');

Generate Reviews for Multiple Businesses at Once

const ratingflow = require('ratingflow');

const businesses = [
  { name: 'Fresh Eats', category: 'restaurant' },
  { name: 'The Chill Pad', category: 'hotel' },
  { name: 'TurboFix Auto', category: 'auto' },
  { name: 'NailArt Pro', category: 'beauty' }
];

businesses.forEach(biz => {
  const reviews = ratingflow.generateBulkReviews(3, {
    businessName: biz.name,
    category: biz.category
  });
  console.log(`\n📍 ${biz.name} — ${reviews.length} reviews generated`);
  reviews.forEach(r => console.log(`  ★★★★★ ${r.review}`));
});

FAQ

Can I use this for Google Business Profile reviews? Yes. Use generateFormattedReview() for copy-paste ready 5-star reviews.

How many reviews can I generate at once? Up to 50 per call using generateBulkReviews(). Call it multiple times for more.

Are the reviews unique each time? Yes. Every call randomly combines openers, closers, transitions, and praise segments so no two reviews are identical.

Does this package require an API key? No. It is fully offline, zero dependencies, and runs entirely on your machine.


License

MIT


Powered by RatingFlow — Your go-to platform for Google review generation and online reputation management.