
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@power-seo/readability
Advanced tools
Readability scoring algorithms (Flesch-Kincaid, Gunning Fog, Coleman-Liau, ARI) with configurable thresholds
@power-seo/readability is a multi-algorithm readability scoring engine for TypeScript/JavaScript developers and SEO engineers that helps you measure, classify, and improve the reading ease of web content.
What it does
'good' / 'improvement' / 'error') with human-readable messagesWhat it is not
Recommended for
The problem
Why developers care
analyzeReadability() API — run all five algorithms in a single call with composite status'good' / 'improvement' / 'error' with a human messageimport { analyzeReadability } from '@power-seo/readability';
const result = analyzeReadability({
text: 'Search engine optimization is the practice of improving web pages to rank higher in search results. Good content uses clear sentences and relevant keywords.',
});
console.log(result.fleschReadingEase.score); // e.g. 58.4
console.log(result.fleschKincaidGrade.score); // e.g. 10.2
console.log(result.overall.status); // 'improvement'
console.log(result.overall.message); // 'Content may be difficult for some readers...'
What you should see
overall.status of 'good', 'improvement', or 'error'message for each score to surface in dashboards or editorial UIsnpm i @power-seo/readability
# or
yarn add @power-seo/readability
# or
pnpm add @power-seo/readability
# or
bun add @power-seo/readability
Supported
Environment notes
Before (first draft — too complex):
- Flesch Reading Ease: 32.1 → 'error' (very difficult; college level)
- Flesch-Kincaid Grade: 14.3 → 'error' (postgraduate reading level)
- Gunning Fog: 15.7 → 'error' (too many complex words)
- Overall: 'error'
After (simplified rewrite):
- Flesch Reading Ease: 64.8 → 'good' (standard; 7th–8th grade)
- Flesch-Kincaid Grade: 7.9 → 'good' (accessible to general audiences)
- Gunning Fog: 9.2 → 'good' (appropriate complexity)
- Overall: 'good'
analyzeReadability() for full pipeline scoring; use individual functions when you need only one metric in a hot pathanalyzeReadability() handles this automatically; individual functions expect plain textWhere it runs
Data flow
| Capability | text-readability | readability-scores | flesch | @power-seo/readability |
|---|---|---|---|---|
| Flesch Reading Ease | ✅ | ✅ | ✅ | ✅ |
| Flesch-Kincaid Grade | ✅ | ✅ | ❌ | ✅ |
| Gunning Fog Index | ✅ | ✅ | ❌ | ✅ |
| Coleman-Liau Index | ✅ | ✅ | ❌ | ✅ |
| Automated Readability Index | ✅ | ✅ | ❌ | ✅ |
| Status labels (good/improvement/error) | ❌ | ❌ | ❌ | ✅ |
| Unified multi-algorithm API | ❌ | ❌ | ❌ | ✅ |
| TypeScript-first with full types | ❌ | ❌ | ❌ | ✅ |
| Zero runtime dependencies | ✅ | ✅ | ✅ | ✅ |
| Tree-shakeable individual functions | ❌ | ❌ | ✅ | ✅ |
All 17 packages are independently installable — use only what you need.
| Package | Install | Description |
|---|---|---|
@power-seo/core | npm i @power-seo/core | Framework-agnostic utilities, types, validators, and constants |
@power-seo/react | npm i @power-seo/react | React SEO components — meta, Open Graph, Twitter Card, breadcrumbs |
@power-seo/meta | npm i @power-seo/meta | SSR meta helpers for Next.js App Router, Remix v2, and generic SSR |
@power-seo/schema | npm i @power-seo/schema | Type-safe JSON-LD structured data — 20 builders + 18 React components |
@power-seo/content-analysis | npm i @power-seo/content-analysis | Yoast-style SEO content scoring engine with React components |
@power-seo/readability | npm i @power-seo/readability | Readability scoring — Flesch-Kincaid, Gunning Fog, Coleman-Liau, ARI |
@power-seo/preview | npm i @power-seo/preview | SERP, Open Graph, and Twitter/X Card preview generators |
@power-seo/sitemap | npm i @power-seo/sitemap | XML sitemap generation, streaming, index splitting, and validation |
@power-seo/redirects | npm i @power-seo/redirects | Redirect engine with Next.js, Remix, and Express adapters |
@power-seo/links | npm i @power-seo/links | Link graph analysis — orphan detection, suggestions, equity scoring |
@power-seo/audit | npm i @power-seo/audit | Full SEO audit engine — meta, content, structure, performance rules |
@power-seo/images | npm i @power-seo/images | Image SEO — alt text, lazy loading, format analysis, image sitemaps |
@power-seo/ai | npm i @power-seo/ai | LLM-agnostic AI prompt templates and parsers for SEO tasks |
@power-seo/analytics | npm i @power-seo/analytics | Merge GSC + audit data, trend analysis, ranking insights, dashboard |
@power-seo/search-console | npm i @power-seo/search-console | Google Search Console API — OAuth2, service account, URL inspection |
@power-seo/integrations | npm i @power-seo/integrations | Semrush and Ahrefs API clients with rate limiting and pagination |
@power-seo/tracking | npm i @power-seo/tracking | GA4, Clarity, PostHog, Plausible, Fathom — scripts + consent management |
| Need | Common approach | @power-seo approach |
|---|---|---|
| Readability scoring | text-readability, readability-scores | @power-seo/readability — typed, multi-algo, status labels |
| Content quality scoring | Yoast SEO plugin | @power-seo/content-analysis — headless, framework-agnostic |
| SEO audit | Lighthouse, Screaming Frog | @power-seo/audit — programmatic, CI-friendly |
| Metadata | Next.js metadata API | @power-seo/meta + validation rules |
Multi-tenant SaaS
ERP / internal portals
Recommended integration pattern
analyzeReadability() in CI on all content filesoverall.status === 'error'This package does
This package does not
@power-seo/ai for AI-assisted suggestions)@power-seo/content-analysis for that)analyzeReadability(input)function analyzeReadability(input: ReadabilityInput): ReadabilityOutput;
ReadabilityInput| Prop | Type | Description |
|---|---|---|
text | string | Plain text or HTML string (HTML tags stripped automatically) |
ReadabilityOutput| Field | Type | Description |
|---|---|---|
fleschReadingEase | AlgorithmScore | Flesch Reading Ease result |
fleschKincaidGrade | AlgorithmScore | Flesch-Kincaid Grade Level result |
gunningFog | AlgorithmScore | Gunning Fog Index result |
colemanLiau | AlgorithmScore | Coleman-Liau Index result |
automatedReadability | AlgorithmScore | Automated Readability Index result |
stats | TextStatistics | Underlying text statistics |
overall | AnalysisResult | Composite status and message |
All accept TextStatistics and return AlgorithmScore:
function fleschReadingEase(stats: TextStatistics): AlgorithmScore;
function fleschKincaidGrade(stats: TextStatistics): AlgorithmScore;
function gunningFog(stats: TextStatistics): AlgorithmScore;
function colemanLiau(stats: TextStatistics): AlgorithmScore;
function automatedReadability(stats: TextStatistics): AlgorithmScore;
| Type | Definition |
|---|---|
ReadabilityInput | { text: string } |
ReadabilityOutput | Full result with all five algorithm scores + stats + overall |
TextStatistics | { sentences, words, syllables, characters, avgWordsPerSentence } |
AlgorithmScore | { score: number; status: AnalysisStatus; message: string } |
AnalysisStatus | 'good' | 'improvement' | 'error' |
AnalysisResult | { status: AnalysisStatus; message: string } |
| Flesch Reading Ease | Difficulty | Typical Audience |
|---|---|---|
| 90–100 | Very Easy | 5th grade |
| 70–90 | Easy | 6th grade |
| 60–70 | Standard | 7th–8th grade — ideal for most web content |
| 50–60 | Fairly Difficult | High school |
| 30–50 | Difficult | College |
| 0–30 | Very Difficult | Academic / professional |
| Grade Level Score | Status |
|---|---|
| ≤ 8 | 'good' — accessible to general audiences |
| 9–12 | 'improvement' — consider simplifying |
| > 12 | 'error' — too complex for most web readers |
pnpm ipnpm buildpnpm testRelease workflow
npm version patch|minor|major
npm run build
npm publish --access public
CyberCraft Bangladesh is a Bangladesh-based enterprise-grade software engineering company specializing in ERP system development, AI-powered SaaS and business applications, full-stack SEO services, custom website development, and scalable eCommerce platforms. We design and develop intelligent, automation-driven SaaS and enterprise solutions that help startups, SMEs, NGOs, educational institutes, and large organizations streamline operations, enhance digital visibility, and accelerate growth through modern cloud-native technologies.
| Website | ccbd.dev |
| GitHub | github.com/cybercraftbd |
| npm Organization | npmjs.com/org/power-seo |
| info@ccbd.dev |
© 2026 CyberCraft Bangladesh · Released under the MIT License
MIT
seo, readability, flesch-kincaid, gunning-fog, coleman-liau, ari, automated-readability-index,
reading-ease, content-scoring, text-analysis, typescript, nodejs, content-seo, editorial-tools
FAQs
Readability scoring algorithms (Flesch-Kincaid, Gunning Fog, Coleman-Liau, ARI) with configurable thresholds
The npm package @power-seo/readability receives a total of 61 weekly downloads. As such, @power-seo/readability popularity was classified as not popular.
We found that @power-seo/readability demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.