A zero-dependency Node.js library that measures text readability across 86 languages using 17 different formulas, including language-specific coefficients and TeX hyphenation for syllable counting.

Stars

25

7-day growth

No data

Forks

12

Open issues

0

License

MIT

Last updated

2026-07-13

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It is a byte-accurate port of a canonical PHP library with verified golden vectors, achieves 100% test coverage, and supports a vast range of languages with both universal and language-specific readability formulas.

Who it is for

  • Web developers integrating readability scoring into content management or analysis tools
  • Linguists and researchers analyzing text complexity across multiple languages
  • Educators building automated reading level assessment for learning platforms
  • Localization engineers evaluating translation difficulty and document accessibility

Use cases

  • Assessing the readability of online articles, documentation, or user-generated content
  • Grading reading difficulty in multilingual educational software or e-books
  • Automatically flagging overly complex text in legal, medical, or technical documents
  • Comparing readability scores across different translations or language versions of the same content

Strengths

  • Zero runtime dependencies, making it lightweight and easy to install and bundle
  • 100% code coverage enforced by rigorous testing and golden vector parity checks
  • Supports 86 languages across 19 writing systems with 17 formulas, including 5 universal ones
  • Provides a consistent API with TypeScript types and dual ESM/CJS module support

Considerations

  • Requires Node.js version 18 or higher, limiting use in older environments
  • Syllable counting in composite mode may be approximate for some languages due to heuristic fallback
  • Some formulas (e.g., Dale-Chall and Spache) use simplified syllable-based heuristics rather than original word lists

README quick start

Installation

Description

Multilingual readability engine for Node.js/TypeScript - 86 languages, 17 formulas, TeX (Frank M. Liang) syllable counting. Zero runtime deps, dual ESM+CJS. Byte-accurate port of the PHP ReadSight library.

Related repositories

Similar projects matched by category, topics, and programming language.

deerwork-ai
Featured
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI & Machine LearningLarge Language Models
312
gavamedia
Featured
gavamedia GitHub avatar

deltafin

Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

AI & Machine LearningLarge Language Models
304
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958