QuickScore

Fast, dependency-free, and only 2KB.

QuickScore is a JavaScript string-scoring and fuzzy-matching library based on the algorithm used in the Quicksilver macOS utility, and is designed for smart auto-complete. It improves on the original Quicksilver algorithm by tuning the scoring for long strings, such as webpage titles or URLs, so that the order of the results makes more sense for a given search string. It's used by the QuicKey Chrome extension to enable users to easily find an open tab via search.