import fs from 'fs' class FileUtil { static createFolderIfNotExist(folderPath: string) { let exists = fs.existsSync(folderPath) if (!exists) { fs.mkdirSync(folderPath, { recursive: true }) } } } export = FileUtil