0.0.1 • Published 7 years ago
@kristing40/complete-me v0.0.1
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).
Installation
npm Install
0.0.1
7 years ago