Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Why do you think that https://github.com/esprfid/esp-rfid is a good alternative to IRremoteESP8266