I have this challenge to do and I am confused on how to proceed. So I have one folder containing images with various names uppercase and I have excel sheet that contains names of for those images although the names of images arent exactly same but they are similar atleast in terms of characters but might be different in lowercase of uppercase. So I am supposed to find images that are named similar to the names provided in the excel sheet and then rename those images in lowercase exactly as names provided in the excel sheet. I have to do this all in javascript.
This is something I have tried but having trouble proceeding further:
const xlsx = require("xlsx")
const wb = xlsx.readFile("bookk.xlsx")
let ws = wb.Sheets["Names"]
let data = xlsx.utils.sheet_to_json(ws)
So i converted the excel sheet names to json.