It’s great to see this done, as I’ve been contemplating a similar project for a while. I need a typeahead search box over a short list of strings to enable keyboard navigation in a project.
One UX comment, though: I think that the typeahead form (as shown in the animation) suggests that partial words should produce results. (For example, typeahead suggestions like Google would show.) Since this implementation is limited to whole words I think that a UI should encourage the user to enter a whole query before displaying results.