cara memfilter array objesct di node ekspres js
var data = [
// the array to be filtered
];
var filteredArray = data.filter(item => (item.name === req.query.q));
Sparkling Skimmer