Holmes.js
p/holmes-js
Fast and easy searching inside a page
Ahmet Sülek
Holmes.js — Fast and easy searching inside a page
Featured
11

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

Replies
Joe Benson
Appears super simple to integrate. Nice work!
Jose Pino
Cool project <3
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!
Thomas Kimura
Might try to give this a try on this search page https://herenotthere.ca/pages/ci...
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.
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.
Chuck Cruz
Let's try! Could be exactly what I need.. ;)
Ben Fichter
Great name indeed, excited to try this!