text: const fs = require('fs');
  const path = require('path');
  
  const deleteFolderRecursive = (dirPath) => {
    if (fs.existsSync(dirPath)) {
      fs.readdirSync(dirPath).forEach(function (entry) {
        const entryPath = path.join(dirPath, entry);
        if (fs.lstatSync(entryPath).isDirectory()) {
          deleteFolderRecursive(entryPath);
        } else {
          fs.unlinkSync(entryPath);
        }
      });
      fs.rmdirSync(dirPath);
    }
  };
  
  module.exports = { deleteFolderRecursive };
  