01 - Preheat the oven to 350°F and line two baking sheets with parchment paper.
02 - In a large bowl, cream together the butter, brown sugar, and granulated sugar until light and fluffy.
03 - Beat in the maple syrup, egg, and vanilla extract until well combined.
04 - In a separate bowl, whisk together the flour, baking soda, baking powder, and salt.
05 - Gradually mix the dry ingredients into the wet ingredients until just combined.
06 - Fold in the chocolate chips and pecans if using.
07 - Scoop heaping tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.
08 - Bake for 10-12 minutes, until the edges are set and the centers look slightly underbaked.
09 - Allow cookies to cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.