Sample

Fuzzyness should be between 0 and 1. Low fuzziness like 0.01 means a mismatch will drop
the score more then a fuzziness of something like 0.9.

Dependencies

Any modern bower, NodeJS, or other JavaScript interpreter.

Install

If your using node.js then install with NPM and require...

Install with node.js from your terminal.

npm install --save string_score

Require string_score from inside of your app.

require('string_score');

If your using string_score inside of a browser

Simply include one of the string score JavaScript files and call
the .score() method on any string.

I recommend using string_score.min.js (520 bytes) because it is small.
The full file string_score.js (2868 bytes) includes comments and full variable
names but is otherwise the same as the minified version.

The string_score file is hosted on CDNJS.com and can be included
with the following in your page: