I have a directory containing a bunch of folders, all having an html,css and js file inside. I need some way to get like an array of all of these folder in order to access their data and using it in another html file using javascript. ex: this is my directory:
  currentDirectory>
         folder1>
               htmlFile
               cssFile
               jsFile
         folder2>
               htmlFile
               cssFile
               jsFile
         folder3>
               htmlFile
               cssFile
               jsFile
         etc...
I would need to fill up something like this:
let foldersInCurrentDirectory = [
                  {
                      RelativePath: '',
                      htmlFileName: '',
                      cssFileName : '',
                      jsFileName  : '',
                      
                   },
                   {
                      RelativePath: '',
                      htmlFileName: '',
                      cssFileName : '',
                      jsFileName  : '',
                      
                   },
                   {
                     //and so on.....
                   }
              ];
