0.0.4 • Published 7 years ago

@ggoering/complete-me v0.0.4

Weekly downloads
4
License
ISC
Repository
-
Last release
7 years ago

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

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago