text-statistics

Extracts readability statistics from raw text. Javascript port of TextStatistics.php

npm install text-statistics
20 downloads in the last week
73 downloads in the last month

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.

Same goes for a test suite - I'll get something working in node in a bit. :)

Installation

Run this in the browser using a simple <script> include - or you can install for node with npm install text-statistics.

npm loves you