fuzzysort icon indicating copy to clipboard operation
fuzzysort copied to clipboard

Fast SublimeText-like fuzzy search for JavaScript.

Results 36 fuzzysort issues
Sort by recently updated
recently updated
newest added

We just implemented your fuzzy sort into the search function in our grid component and it is working great - our search accuracy and performance has improved substantially. Along the...

I've tried below but did not work ```js const go = (search, targets, options) => { if(!Array.isArray(search)) return fuzzysort.go(search, targets, options) return search .filter((s,i) => search.indexOf(s) === i) .flatMap(s =>...

Hi, Thank you for your work. You did a great job! I just want to known how to use `keys` with typescript because I got an error. ```json [{ "resource":...

In the following example an object `const o = {title: ""}` in `objects` won't be included in the results. return fuzzysort.go(search, objects, { key: "title", limit: 100, threshold: -10000, all:...

I have an object with a key called "tags" whose value is an array of tags: ``` const allResources = {name: foo, tags:["123","abc"]}; const searchTerm = e.target.value; const results =...

This is gonna be a quick one: I'm using Deno (version 1.19.2), and couldn't import the `fuzzysort.js` file as a module. One quick hack with the file (and by that,...

Thank you so much for this library! Is there any chance you would convert it to Deno?

you said it yourself that these numbers were arbitrary so what if they werent https://github.com/farzher/fuzzysort/blob/0fc889cdf9fd0be471a7f3fe8c61b7034f50878d/fuzzysort.js#L395 the arbitrary parts are: - `score -= (12+unmatchedDistance) * extraMatchGroupCount`, or how much we penalize...

If the search and target params equals but there are spaces in them than the single methods result won't be 0 `fuzzysort.single('some string that contains my query.', 'some string that...

Hi, This is not an issue. I just want to thank you @farzher for your amazing library. I just released a search library for Ghost Blogging Platform called [`ghost-search`](https://github.com/HauntedThemes/ghost-search) and...