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-cliche-scanner

v1.0.1

Published

Lightweight zero-dependency AI cliché detector, throat-clearing opener remover, and prose naturalness scorer based on 14M PubMed research patterns.

Readme

ai-cliche-scanner

Lightweight, zero-dependency AI cliché detector, throat-clearing opener remover, and prose naturalness scorer based on 14-million PubMed research patterns across 7 languages. Powering the AI Cliché Scanner at WordCount Pulse.

npm version License: MIT jsDelivr Bundle Size Dependencies

Live Interactive Sandbox: Try the visual scanner in your browser at WordCount Pulse AI Cliché Scanner.


Why Pattern-Based AI Detection?

Probabilistic neural classifiers frequently flag non-native English speakers and academic prose as AI-generated. ai-cliche-scanner takes a transparent, deterministic approach: it cross-references text against 3,250+ over-represented AI tokens and formulaic idioms identified from comparative post-2022 research manuscripts and LLM generation benchmarks.

4 Categorized Detection Tiers

  1. Dead Giveaways (Tier 1): Unmistakable AI tokens (delve, testament, tapestry, pivotal, beacon, myriad, realm).
  2. Throat-Clearing Openers (Tier 2): Empty preambles ("In today's fast-paced digital world...", "It is crucial to remember that...").
  3. Mechanical Transitions (Tier 3): Formulaic connectors (Moreover, Furthermore, In conclusion, It is worth noting).
  4. Corporate Filler (Tier 4): Empty synergy jargon (streamline, revolutionize, leverage, paradigm shift).

Installation

npm install ai-cliche-scanner
# or
yarn add ai-cliche-scanner
# or
pnpm add ai-cliche-scanner

Quickstart

Node.js (ESM & CJS)

import { 
  scanCliches, 
  calculateNaturalness, 
  humanizeText, 
  removeThroatClearing,
  TOP_AI_CLICHES 
} from 'ai-cliche-scanner';

const sampleText = `
In today's fast-paced digital world, it is crucial to remember that artificial intelligence 
plays a pivotal role. In this study, we delve into the intricate tapestry of neural networks. 
This stands as a testament to algorithmic progress.
`;

// 1. Scan for AI clichés and view categorization
const scan = scanCliches(sampleText);
console.log(scan.totalMatches);      // 4
console.log(scan.naturalnessScore);  // 18 (out of 100)
console.log(scan.grade);             // "Heavy AI Lexical Fingerprint"
console.log(scan.matches[0].phrase); // "in today's fast-paced digital world"

// 2. Direct naturalness score
const score = calculateNaturalness(sampleText);
console.log(`Naturalness: ${score}%`); // 18%

// 3. Strip formulaic throat-clearing intros
const trimmed = removeThroatClearing(sampleText);
console.log(trimmed);
// "Artificial intelligence plays a pivotal role. In this study, we delve into the intricate tapestry..."

// 4. Automated prose humanization with contextual inflections
const humanized = humanizeText(sampleText);
console.log(humanized.humanizedText);
// "Artificial intelligence is central. In this study, we explore the diverse mix of neural networks. This demonstrates algorithmic progress."
console.log(humanized.scoreAfter); // 100%

// 5. Inspect top cataloged AI buzzwords
console.log(TOP_AI_CLICHES.slice(0, 5));
// ['delve', 'delve into', 'tapestry', 'rich tapestry', 'testament']

Browser ESM (via jsDelivr CDN)

<script type="module">
  import { scanCliches, calculateNaturalness } from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/index.mjs';

  const result = scanCliches("We delve into this tapestry.");
  console.log(result.naturalnessScore); // 45
</script>

Multilingual Support Across 7 Languages

ai-cliche-scanner includes native lexical dictionaries, verb inflections, and grammatical rules for all 7 languages supported by WordCount Pulse:

Automatic Language Detection

import { detectTextLocale, scanCliches } from 'ai-cliche-scanner';

const text = "Es crucial destacar la importancia de este enfoque holístico.";
const locale = detectTextLocale(text); // "es"
const results = scanCliches(text, locale);

console.log(results.matches[0].phrase); // "es crucial destacar"

Live Companion Tools & Ecosystem

ai-cliche-scanner is part of the WordCount Pulse text intelligence suite:


Research & Documentation

Read the empirical benchmark methodology and corpus analysis: WordCount Pulse Research: AI Clichés in Writing.

License

MIT © WordCount Pulse