The project is primarily a port of MAX30102_by_RF (https://github.com/aromring/MAX30102_by_RF) on ESP8266 NodeMCU. MAX30102_by_RF is a significant improvement over standard Sparkfun MAX3010x library. Details of the algorithm and accuracy can be read here. (https://www.instructables.com/id/Pulse-Oximeter-With-Much-Improved-Precision/)
A big head-scratcher was inconsistent readings by the sensor and upon investigation, i came across this great thread: https://github.com/aromring/MAX30102_by_RF/issues/13#issue-601473302
MAX30102 replica breakout boards may have swapped IR and RED LEDs (mine has this issue). The work around is a single line fix included in sketch but finding it may take a whole lot of time if one isn't aware of this. So keep an eye out.