How to connect neo 6m 6pin module with nodemcu v3
The 4 pins VCC/GND/TX/RX are the same as any other GPS module.
The other two pins, SCL and SDA, are nothing to do with the GPS. They connect to the HMC5883L compass chip.
Use the normal TinyGPS library for the GPS, and a HMC5883L library (such as this one) for the compass.