What does HackerNews think of minisearch?
Tiny and powerful JavaScript full-text search engine for browser and Node
I settled on MiniSearch. [0] It is fast & small enough and fairly feature complete.
Afterwards I made a few contributions to improve performance and implement a better scoring algorithm. So I'm probably a bit biased now. Take my recommendation with a grain of salt.
Personally I think that OP's library does not perform searches, fuzzy or otherwise. It's much more similar to 'grep'. Try searching for "mario adventures". It won't actually find the most obvious results, because the order of the keywords in the search string must match the order of the keywords in the indexed text.
[0]: https://github.com/lucaong/minisearch
[1]: https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uF...
0 - https://github.com/lucaong/minisearch
1 - https://lucaongaro.eu/blog/2019/01/30/minisearch-client-side...