typescript-search
v1.0.6
Published
Search and return filtered list based on input
Downloads
11
Readme
TypeScript Search
Installing
In the project directory, you can run:
npm i typescript-search
How to use in React Project
import {searchList} from 'typescript-search';
searchList(list, "divElementId")
<div id= "divElementId"></div>
Input:
const list=["aaa","abc", "bbc", "adc"]
displayContinerId: "divElementId"
Output: HTML
Ex: aaa