Preheat oven to 350°F (180°C).
In a food processor, blend chickpeas until smooth and no round peas remain.
In a large mixing bowl, whisk mashed chickpeas with brown sugar, melted butter, egg, and vanilla.
In a separate bowl combine baking soda, salt, flour and oats.
Add dry ingredients to the chickpea mixture and stir well.
Add chocolate chips and cranberries or raisins, stirring to distribute throughout the mixture.
Drop tablespoonfuls of cookie mix onto a greased cookie sheet.
Bake for 10-12 minutes, until bottom of the cookie is golden.
Let cool slightly. Remove from cookie sheet. Cool completely and store in airtight container.