word-suggestions

1.0.3 • Public • Published

A typeahead component for inputs

npm version

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"]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i word-suggestions

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

2.75 kB

Total Files

3

Last publish

Collaborators

  • thenamevishnu