node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

text-statistics

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.