The most widespread Li-ion charger controller chip — TP4056. Here you can find tested circuit diagram and printed circuit board (full KiCad project) with TP4056and USB Type-C connector, that compatible with Power Delivery chargers (5V 3A output).