Node.js File System | Create a Folder & List All Files in Order | Async/Await
Автор: Node.jsVedas
Загружено: 2025-02-06
Просмотров: 18
Описание:
🚀 In this video, you'll learn how to create a new directory and generate multiple files inside it using Node.js. We'll also list all the files in sorted order using the fs/promises module with async/await.
🔹 Topics Covered:
✅ Creating a new folder using fs.mkdir()
✅ Generating 50 text files dynamically using fs.writeFile()
✅ Listing all files in sorted order using fs.readdir()
✅ Handling errors with try/catch
📜 Source Code: https://github.com/0rishav/file-system.git
💬 Have any questions? Drop them in the comments below!
🔔 Don't forget to LIKE & SUBSCRIBE for more Node.js tutorials! 🚀
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: