TextStatistics.js
Generate information about text including syllable counts and Flesch-Kincaid, Gunning-Fog, Coleman-Liau, SMOG and Automated Readability scores.
Install / Use
/learn @cgiffard/TextStatistics.jsREADME
TextStatistics.js
JavaScript port of TextStatistics.php!
I've done what I think is a reasonably faithful port. Documentation incoming! I removed a lot of the original comments during the port, but seeing as the API remained largely the same, I'll add them in shortly.
The beginning of a test suite in Mocha is here, covering cleaning the text and some cases of word and sentence counting.
Installation
Run this in the browser using a simple <script> include - or you can install for node with npm install text-statistics.
Famous! As seen in Time! (heh.)
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
