fuzzy
fuzzy copied to clipboard
Filters a list based on a fuzzy string search
In addition to inserting text with `pre` and `post`, the results now contain a `indices` property with a list of the positions of the characters matched during the search. This...
I was using fuzzy in an old project and was looking for it again yet had a very hard time due to these broken links. Figured I would just make...
Search improvement: behave a bit more like sublime text by getting the BEST match in a given string, not just the first. For example, searching for 'bass' in 'bodacious bass'...
Right now fuzzy returns formatted string results like this: ``` "test" ``` That doesn't work well with clients that don't insert into the DOM with innerHTML, like React. Need to...
It may be a bit overkill, but returning an array of little objects containing whether each character is a match allows for easier parsing of the structure in other applications....
Need an easy way to compare changes for perf
It's common to filter lists with mixed-type data. fuzzy currently throws an error if you pass it a number value. One workaround is to convert numbers to strings before passing...
Are you still working on this? This would be a great improvement. I use this library for my (sublime-go-to-anything-like) chrome extension [Tab Ahead](https://github.com/janraasch/tab-ahead/).
Hi, Is it possible to match an exact text? For example, i want to retrieve the results for all value that as "thisvalue" but not the other resultats that contain...