![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
ep_readability
Advanced tools
There'll be a button which calculates and displays the Flesch redability index.
Calculation of the Flesch index is triggered by entering !, ?, RETURN or BACKSPACE. Or by pushing the button.
The button shows a tooltip, which provides additional information.
Short sentences and words with only a few syllables ensure the readability of a text.
The original Flesch index is calculated for all languages. German umlauts are replaced (ä = a, ß = ss...).
Numbers are counted as a single syllable (1000,56 = one syllable).
Links are split into subparts (http://aaa-bbb.bla?foo=bar = http aaa bbb bla foo bar).
On the command line, run npm install ep_readability
.
Alternatively, browse to http://yourEtherpadliteInstan.ce/admin/plugins
, search for readability
and click install.
After restarting the server, the plugin takes effect.
https://github.com/xErik/ep_readability
The plugin interprets a line break (paragraph) as the end of a sentence. If text is copied into the pad, the line breaks may be incorrect and manual adjustment may be necessary.
Problematic text, counted as two sentences:
1. All participants
2. are expected to be awake.
Corrected text, counted as one sentence:
1. All participants are expected to be awake.
2.
Rethink the current solution for counting numbers as one syllable.
Rethink time definitions e.g., 20:30.
The internal work is based on a regex orgy. Which could be rewritten, maybe using DOM for additional capabilities like highlighting long words and sentences.
MIT
Some code of the TextStatistics package is being used.
TextStatistics.js, Christopher Giffard (2012)
https://github.com/DaveChild/Text-Statistics
FAQs
Calculates the Flesch readability index in Etherpad, client based.
The npm package ep_readability receives a total of 2 weekly downloads. As such, ep_readability popularity was classified as not popular.
We found that ep_readability demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.