Peel the cassava and grate it finely. If the cassava is too watery, squeeze out some of the excess liquid.
In a large mixing bowl, combine the grated cassava, coconut milk, brown sugar, and vanilla extract. Mix well to create a thick batter.
If using banana leaves, wash them thoroughly and briefly pass them over a flame to make them more pliable. If using aluminum foil, cut it into large squares.
Lay out the banana leaves or aluminum foil on a clean surface.
Place a portion of the cassava mixture onto the center of each leaf or foil square.
Fold the leaves or foil over the mixture to create a secure parcel.
Preheat your oven to 350°F (175°C) or prepare a steamer.
If baking, place the wrapped parcels on a baking sheet. If steaming, place them in the steamer basket.
Bake or steam for about 1 to 1.5 hours, or until the cassava pudding is firm and cooked through.
Allow the parcels to cool slightly before unwrapping.
Enjoy your meal!