implement filter by package.json