The Arduino IDE requires the sketch folder name to match the filename of the primary sketch file. On a filename case-sensitive OS like Linux, this includes matching case. This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > LIBRARYNAME menu after the library is installed.
#define RST_PIN 6 // Arduino UNO
// #define RST_PIN 14 // D5 on NodeMCU
// 0x28 is i2c address of the NFC Reader. Check your address with i2cscanner if not match.
MFRC522mfrc522(0x28,RST_PIN);// Create MFRC522 instance.