Combine grated carrots with sugar, flour, salt, baking powder, baking soda, and spices.
Add the pineapple and mix until just combined.
Wisk the eggs, oil, and vanilla in a separate bowl and pour into the carrot mixture, stirring until just combined and no dry spots remain. Don’t be tempted to keep mixing!
Scoop batter into muffin liners inserted into a cupcake pan and bake for about 20 minutes or until a toothpick inserted into the center comes out clean.
Let cool completely and frost with Brown Butter Cream Cheese Frosting.