Skip to content

API Reference Readability

Power SEO Bot edited this page Feb 27, 2026 · 1 revision

@power-seo/readability API

analyzeReadability()

Analyze text readability with multiple algorithms.

import { analyzeReadability } from '@power-seo/readability';

const result = analyzeReadability({
  content: '<h1>Article Title</h1><p>Your article content here...</p>',
});

console.log(result.status);                    // 'good' | 'ok' | 'poor'
console.log(result.scores.fleschReadingEase);  // 0-100
console.log(result.scores.fleschKincaidGrade); // Grade level
console.log(result.scores.gunningFog);         // Years of education
console.log(result.recommendations);           // Improvement suggestions

Algorithms

  • Flesch Reading Ease: 0-100 (higher = easier)
  • Flesch-Kincaid Grade: US grade level
  • Gunning Fog: Years of education needed
  • Coleman-Liau: Using character count
  • ARI: Automated Readability Index

Status

  • 'good': Easy to read
  • 'ok': Moderate difficulty
  • 'poor': Hard to read

Improve content readability for better user engagement.

Clone this wiki locally