fuzzysort
typesense-autocomplete-demo
fuzzysort | typesense-autocomplete-demo | |
---|---|---|
7 | 2 | |
3,490 | 21 | |
- | - | |
0.0 | 3.6 | |
about 1 year ago | 7 months ago | |
JavaScript | HTML | |
MIT License | Apache License 2.0 |
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.
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
typesense-autocomplete-demo
-
Autocomplete – a JavaScript library for building autocomplete experiences
You can also use this library with Typesense, which is an open source alternative to Algolia: https://github.com/typesense/typesense-autocomplete-demo
Disclaimer: I work on Typesense.
What are some alternatives?
flexsearch - Next-Generation full text search library for Browser and Node.js
autocomplete - 🔮 Fast and full-featured autocomplete library
uFuzzy - A tiny, efficient fuzzy search that doesn't suck
what-hn-says-webext - Web Extension: Easily find Hacker News discussions about the page you're currently browsing.
lunr.js - A bit like Solr, but much smaller and not as bright
0g-typeahead - A lean typeahead library
chosen - Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.
Fuse - Lightweight fuzzy-search, in JavaScript
minimal-mistakes - :triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
minisearch - Tiny and powerful JavaScript full-text search engine for browser and Node