Get All Json In Folder More or less self explaining. Usage Just use the exported Function. It uses the fs module to iterate through all the folders, parse all json files and push then into an array with additional information (file name and file path).