word-suggestions
v1.0.3
Published
A typeahead component for inputs
Downloads
9
Maintainers
Readme
A typeahead component for inputs
Install
$ npm i word-suggestions
Usage
Quick start
import {prefix} from "word-suggestions"
const wordsArray = ["hello","hey","how are you","do you have a pen?","coding","codes"]
prefix.UploadArray(wordsArray)
const output = prefix.searchResponse("Co")
console.log(output) // ["coding","codes"]