File System (fs) Module
The fs module in Node.js allows you to interact with the file system — creating, reading, updating, and deleting files.
fs.readFile()andfs.writeFile()for async operationsfs.readFileSync()andfs.writeFileSync()for sync operations- Works with both text and binary files
