@jdiejim/complete-me
v0.0.3
Published
JS library of prefix Trie class
Readme
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