01 - Preheat the oven to 350°F and line two baking sheets with parchment paper.
02 - Whisk together the flour, baking soda, salt, cinnamon, and nutmeg in a medium bowl.
03 - Cream the butter, brown sugar, and granulated sugar in a large bowl until light and fluffy.
04 - Beat in the egg, maple syrup, and vanilla extract until fully combined.
05 - Gradually add the dry ingredients to the wet mixture, mixing just until incorporated.
06 - Fold in the chopped nuts if using.
07 - Drop tablespoonfuls of dough onto the prepared baking sheets, spacing about 2 inches apart.
08 - Sprinkle the tops with maple sugar or coarse sugar if desired.
09 - Bake for 10-12 minutes until edges are set and centers remain soft.
10 - Cool on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely.