joshaven / string_score

JavaScript string ranking 0 for no match upto 1 for perfect... "String".score("str"); //=> 0.825
MIT License
840 stars 62 forks source link

Added closest matches in an array function #30

Closed hdf closed 8 years ago

hdf commented 8 years ago

Properly solves issue #28.

joshaven commented 8 years ago

My goals with string score are to be lighting fast and tiny. I'm reluctant to add bulk to the package would you consider making this a companion package and sending a pull request for a link to your package in the readme?

hdf commented 8 years ago

Not sure where to put that link, it would be best, if you took care of that, anyways here is the link for the "extension project": https://gist.github.com/hdf/836f14b4c0d5c8f6bad202b34ce40112