01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - In a large bowl, combine shredded coconut, almond flour, cocoa powder, espresso powder, baking powder, and salt. Mix until evenly distributed.
03 - In a separate bowl, whisk eggs, erythritol, melted butter, and vanilla extract until smooth and well incorporated.
04 - Pour the wet mixture into the dry ingredients. Stir until a thick, cohesive batter forms. Fold in chocolate chips if using.
05 - Scoop tablespoon-sized mounds of dough onto the prepared baking sheet, spacing about 2 inches apart. Flatten slightly with your fingers or the back of a spoon.
06 - Bake for 10 to 12 minutes, or until edges are set and tops appear dry.
07 - Allow cookies to rest on the baking sheet for 10 minutes, then transfer to a wire rack to cool completely.