Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.