A fuzzy search returns a number of matches that are likely to be relevant to a search term or terms even when the match does not exactly correspond to the search terms. In some ways a fuzzy matching program can operate a lot like a spell checker. So here are 10 Awesome Javascript Fuzzy Search Libraries that you can use them on any of your projects. Having such powerful search on your site, visitors will feel more comfortable and will be able to find their desired things easily.
List.js
Tiny, invisible and simple, yet powerful and incredibly fast vanilla JavaScript that adds search, sort, filters and flexibility to plain HTML lists, tables, or anything.
Lunr.js
It is a small, full-text search library for use in the browser. It indexes JSON documents and provides a simple search interface for retrieving documents that best match text queries.
Fuse.js
Lightweight fuzzy-search, in JavaScript, with zero dependencies.
Fuzzy
Filters a list based on a fuzzy string search.
Fuzzysearch
Fuzzy searching allows for flexibly matching a string with partial input, useful for filtering data very quickly based on lightweight user input.
Fuzzyset
A fuzzy string set for javascript. A data structure that performs something akin to fulltext search against data to determine likely mispellings and approximate string matching.
Fuzzysort
Fast SublimeText-like fuzzy search for JavaScript.
FuzzySearchJS
It provides an easy and modular way for fuzzy searching in JS for multiple purposes.
Bripkens
It is very lightweight and is aimed to provide an experience which you may know from editors such as Sublime Text 2, TextMate and others.
Fuzzy Search
So that you can prioritize types of matches, fuzzy search returns two arrays of matches, exact and fuzzy. exact matches contain the exact search term, ordered by proximity to the beginning of the string in which it was found. fuzzy matches contain the search term even if there are characters in between.
Fuse has good search results but is very slow. Lunr is fast but the results are really bad. See this comparison: https://accuratesearch.org/javascript-search-comparison.html