0.0.4 • Published 7 years ago
@ggoering/complete-me v0.0.4
Complete Me
- This JS library contains a prefix Trie class implementation.
- It can be used for auto-compete apps.
The Trie class contains the following methods:
Insert: to add words to the trie in node form.
- Populate: to insert array of words.
- Count: to count inserted words.
- Suggest: to return an array of suggestions based on keyword passed.
- Select: to place selected word on top of suggestions (based on frequency of selections).