npm install wade
Initialize with strings in the form of an array
const search = Wade(["Apple", "Orange", "Lemon", "Tomato"]);
Now you can search for a substring within the array, and Wade will return the index of it.
e.g you can write 'Lem' and click to search.