.map() could be used as a step before filter()
products
.map(product => product.productName.toLowerCase())
.filter(...)
Simply convert to lowercase inside filter before comparing.
e.g.
product.productName.toLowerCase().includes .....
If it complains about being an object, convert to string first.
product.productName.toString().toLowerCase().includes ....