uFuzzy
fuzzysort
Our great sponsors
uFuzzy | fuzzysort | |
---|---|---|
16 | 7 | |
2,502 | 3,490 | |
- | - | |
7.5 | 0.0 | |
2 months ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uFuzzy
-
Show HN: A fast, accurate and multilingual fuzzy search lib for the front end
Thank you. We need more libs like that. I just researched the field yesterday and https://github.com/leeoniya/uFuzzy looked pretty good. But there is a gap in the market of such libs. Just few allow to send the whole html document, serialize and deserialize index to be used in browser, highlighting the matches is desired feature.
Most importantly very few fuzzy search libs can get a simple substring match as a priority, which is understandable but not helpful. Imagine searching for “xample” and not having “example” among the results.
-
PruningRadixTrie – 1000x faster Radix trie for prefix search and auto-complete
interesting, i made something much more stupid but brutally effective: https://github.com/leeoniya/uFuzzy
i guess if you wanted to do sorting by contact frequency you can just keep the original haystack sorted by frequency, and get Richard match first.
-
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
allow me to self-promote https://github.com/leeoniya/uFuzzy
- What is your go to client-side fuzzy searching library?
-
Sotd.fun is live
Keep the tech simple and minimal. Just the basics: javascript, css, HTML. No react or other frameworks. No tech for tech's sake. I did use one very excellent search library uFuzzy.
- uFuzzy 1.0 - A tiny, efficient fuzzy search that doesn't suck
-
uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
maybe habit, maybe less devDependencies, maybe wanting to hand-author a readable/commented form of https://github.com/leeoniya/uFuzzy/blob/main/dist/uFuzzy.d.ts?
- Show HN: uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
fuzzysort
-
Autocomplete – a JavaScript library for building autocomplete experiences
I use [1] for searching a fully static site
[1] https://github.com/farzher/fuzzysort
- What is your go to client-side fuzzy searching library?
-
How to prevent duplicate data in DB?
Use something like fuzzysort, to compare user input to what currently exists in the DB. If there are no good match scores, when comparing user input for "job title" to what exists in the DB, you can proceed with creating an entry. However, if there is a match, you can respond to the front-end with the best match, and use it to autofill the form (or provide some kind of feedback for the end user). Your web server should perform match score verification before adding a new job title to the DB.
-
Search autofill suggestions for 20k+ items
This one perhaps fuzzy sort
- GitHub - farzher/fuzzysort: Fast SublimeText-like fuzzy search for JavaScript.
- Fuzzysort: Fast, Tiny, & Good SublimeText-like fuzzy search for JavaScript
-
Self-Contained Search for Archived Static Site?
I use fuzzysort for one of my static site search results
https://github.com/farzher/fuzzysort
What are some alternatives?
minisearch - Tiny and powerful JavaScript full-text search engine for browser and Node
flexsearch - Next-Generation full text search library for Browser and Node.js
pagefind - Static low-bandwidth search at scale
typesense-autocomplete-demo - A demo app that shows you how to use Algolia's autocomplete.js library with Typesense
sotdsite - Code for sotd.fun.
lunr.js - A bit like Solr, but much smaller and not as bright
orama - 🌌 Fast, dependency-free, full-text and vector search engine with typo tolerance, filters, facets, stemming, and more. Works with any JavaScript runtime, browser, server, service!
autocomplete - 🔮 Fast and full-featured autocomplete library
bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
Fuse - Lightweight fuzzy-search, in JavaScript
list.js - The perfect library for adding search, sort, filters and flexibility to tables, lists and various HTML elements. Built to be invisible and work on existing HTML.
0g-typeahead - A lean typeahead library