NodeJs Usuń folder rekurencyjnie
fs.rmdirSync(dir, { recursive: true });
Wide-eyed Fox
fs.rmdirSync(dir, { recursive: true });