I have a webpage that is using files from an image folder. Is there a way to get a list of all the folders within my hosted image folder, and also to check for any subfolders?
If this was done with node, I could use fs, but I do not know of a way to do this with a hosted webpage.
This would be part of a React app, and I would ideally like to find a way to get a nested array of the folders and subfolders so I can carry out further operations on them.