These are pretty nice.
There's a bridge rectifier, a cap, and a switching regulator inside. All the 18 LEDs are in parallel, at about 2.5 volts. It uses 100 mA at
12 volts.What's interesting is that one can be run constant-current, or from 12 volts with a series resistor, and dims all the way down to 1 mA. I can apparently run all six in parallel from a 12 volt wart, and add one resistor to dim the array if it's too bright.