readability
readability copied to clipboard
npm package to calculate readability statistics of a text object - paragraphs, sentences, articles.
Hi, I find no way to use it in a simpe html page (index.html)... no React, vo Vues. That's because my very low experience with es modules and how to...
### Issue The function `sentenceCount` uses this regular expression to calculate total sentences: `(/ *[.?!]['")\]]*[ |\n](?=[A-Z])/g)` It works well when we have text separated by single `\n` but when there...
I looked on DefinitelyTyped for TypeScript types for this package but came up short. I did a bit of work with the help of AI, to make a declaration file...
When `Math.legacyRound` is used in a function and the text is empty, `Math.copySign` attempts to divide by `0` and returns `NaN` as a result. In most of the functions, this...