Allow butter to sit at room temperature until softened.
Allow eggs to also sit at room temperature for at least 30 minutes.
Fill a cupcake/muffin pan with liners.
In a medium bowl stir together the flour, salt, baking soda, baking powder and cocoa powder.
Combine milk and coffee in a glass measuring cup.
Once butter has softened, place in a mixing bowl and mix using the paddle attachment for 30 seconds.
Gradually add the sugar.
Add eggs one at a time, beating well after each addition.
Beat in vanilla and coffee extract.
Alternately, add flour and milk to the butter mixture, ending with the milk mixture.
Add chocolate pieces and lightly mix.
Spoon batter into prepared muffin cups about three-fourths full.
Bake at 350 degrees for 18 minutes or until a toothpick inserted comes out clean.
Remove from pan and allow to cool on wire racks.
Frost with coffee flavored buttercream.
Beat softened butter with an electric mixer for 30 seconds.
Gradually add powdered sugar.
Add vanilla or coffee extract and coffee.
Continue beating until buttercream has reached spreadable consistency.
Frosting makes about 2 cups. More frosting may be needed depending on how you frost the cupcakes.