Использование Array.filter
const allData = [
{
"name": "cricket",
"ground": "JBL Ground",
"capacity": "50000"
},
{
"name": "rugby",
"ground": "IPL Ground",
"capacity": "55000"
},
{
"name": "running",
"ground": "PPL Ground",
"capacity": "10000"
},
{
"name": "cricket",
"ground": "MBL Ground",
"capacity": "34000"
},
{
"name": "cricket",
"ground": "KIG Ground",
"capacity": "19000"
}
]
const wantedData = allData.filter(item => item.name === 'cricket');
console.log(wantedData);