Preparation:
Preheat oven to 350°F (175°C).
Line a 12-cup muffin tin with paper liners or grease wells thoroughly.
Bring eggs and butter to room temperature.
Making the Cupcakes:
In a large bowl, whisk together flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt.
In a separate bowl, whisk together pumpkin puree, granulated sugar, brown sugar, eggs, oil, and vanilla extract for 2 minutes until smooth.
Pour wet ingredients into dry ingredients and fold gently with a rubber spatula until just combined (do not overmix).
Fill each cupcake liner about two-thirds full using an ice cream scoop or spoon.
Bake for 18-20 minutes until a toothpick inserted in the center comes out clean.
Cool cupcakes in pan for 5 minutes, then transfer to a wire rack to cool completely.
Making the Frosting:
Beat softened cream cheese and butter together until smooth and fluffy.
Gradually add powdered sugar, one cup at a time, beating well after each addition.
Add vanilla extract and beat until light and creamy.
Frost completely cooled cupcakes and garnish with cinnamon if desired.