Ahmet Sülek

Holmes.js - Fast and easy searching inside a page

Holmes.js is a way to filter/search for elements on your page

Add a comment

Replies

Best
Haroen Viaene
I made this because I found this a piece of code I wrote quite often. This is the first time I made a larger public project, so let me know whatever you think. I've found it easy to replace the search bars I'd already written to this version
Luky
@ariel_janover @haroenv Glad you like it :) I first suggested "Sherlock / Sherlock.js" but it was already in use. So @Haroenv naturally came in with the idea of Holmes.js, which is awesome :) I would have called it "Watson.js" otherwise.
Dylan Smith
This is exactly what we need to live-filter a list of events based on user-inputted text (venue, city, etc). I've passed it on to the project's developer. Thanks!
Ben Fichter
Great name indeed, excited to try this!
Chuck Cruz
Let's try! Could be exactly what I need.. ;)
Joe Benson
Appears super simple to integrate. Nice work!
Thomas Kimura
Might try to give this a try on this search page https://herenotthere.ca/pages/ci...
Jose Pino
Cool project <3
Ingo Radatz
I wouldn't say this is a search. It's a highlighter of DOM elements which match a simple criteria. You can create awesome UX but it is not comparable with real client-side search libs like lunr.js which comes with tokenizer et al. Please don't get me wrong - i like your library and will use it. It's just the claim that has expect me something different as i had read the first time your README.
Haroen Viaene
@llabball Thanks for your comment. An interesting remark you made about it not *technically* being search and I agree with you about that. This project is a simple exact-word check without ordering etc. and that's still useful. A highlighter of DOM elements is indeed a correcter term, but I'm not really sure if it's that much more clear to a person who has no knowledge of search algorithms etc. and that's why I'll probably keep calling it search.