If you’re referring to one of the generic Chinese drivers then it’s called a JST connector. Specifically it’s a JST-XH 2.5 2PIN CONNECTOR. Make sure all the numbers match or you’ll end up with the wrong thing. The 2.5 is the pitch( distance between pins) so that needs to be right and the number of pins has to be right too.
Reply To: MPCNC 2.8w $100 laser add-on complete