Storage... best stored whole. Paper exterior protects them. Store whole onions in a cool, dark, dry, well-ventilated place. Sunlight can affect temperature and humidity, causing the onions to go bad.
Storing when peeled or in pieces... seal in an airtight container, or wrap in beeswax wrap. Store in the fridge.