In a small bowl, whisk ½ cup creamer with the cornstarch and set aside. In a medium saucepan, whisk together remaining creamer, cocoa powder, sugar, peppercorns, cayenne, and salt.
Heat over medium-high heat until just boiling. Reduce heat to medium-low and slowly drizzle the cornstarch mixture into the saucepan while whisking continuously.
Let cook until mixture becomes very thick, about 5 minutes. Strain through a mesh strainer to remove the peppercorns. Remove from heat and whisk in vanilla and margarine.
Pour custard evenly into ramekins, serving dishes, or even coffee mugs. Serve warm if desired. If chilling it, place a piece of plastic wrap or greased parchment paper over each serving and press the wrap against pudding to avoid the pudding skin. Serve with dairy-free whipped topping (not “non-dairy”) and freshly ground pink peppercorns.
Recipe by Go Dairy Free at https://www.godairyfree.org/recipes/spiced-vegan-chocolate-pudding