01 - In a small saucepan, combine granulated sugar, water, and molasses.
02 - Add ginger, cinnamon, allspice, nutmeg, cloves, and salt; stir to combine.
03 - Bring mixture to a gentle boil over medium heat, stirring until sugar dissolves.
04 - Reduce heat and simmer for 10 to 12 minutes to allow flavors to meld.
05 - Remove from heat and stir in vanilla extract.
06 - If fresh ginger was used, strain syrup through fine mesh sieve.
07 - Allow syrup to cool completely before transferring to a clean, airtight container. Refrigerate up to 3 weeks.