Increasing the current output from NodeMCU

Hey guys. I'm a noob here

I'm doing a project and I want to increase the current from the NodeMCU.

According to the datasheet, the nodemcu has an output of 3.3v and 12mA. I want to increase the current to 50mA and keep the voltage constant.

How would I do that?

Thanks

The usual approach is to use a higher current capable transistor external to the microcontroller. There's a nice tutorial for using bipolar transistors as switches here:
https://learn.sparkfun.com/tutorials/transistors#applications-i-switches