Instead of throwing out onion peels, turn them into onion powder by washing, drying, and baking them at 150 degrees Fahrenheit for three hours, or using a food dehydrator.
Once dried, crush the peels into a fine powder using a mortar and pestle, blender, or even your hands, and store in an airtight container for up to a year.