Slice onions thinly
Heat a pan over low to medium-low heat
Add butter or oil to the pan
Add the sliced onions
Sprinkle with a pinch of salt
Stir occasionally
Cook slowly until the onions turn soft and golden brown
Add a small splash of water if the pan gets too dry
Continue cooking until deeply browned and sweet
Remove from heat and use as desired
