This add-on is designed to do a few things. First, it stops creepers from destroying blocks when they explode. Second, iron golems and creepers will attack one another on sight. Finally, in the latest version, villagers will steer clear of creepers like they do other hostile mobs. This works on Realms too!
Select version for changelog:
Changelog
1.0.1 - added new villager behavior to avoid creepers like they do other mobs
minecrafthub.co m/pe/mod/krads-creeper-pack