Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026
The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.
Working with the file system is one of Node.js’s strengths. Unlike JavaScript in the browser, Node.js can read and write files, making it ideal for build tools, scripts, and server applications that need to persist data.
In this unit, you’ll learn how to work with files in Node.js. We’ll cover reading files both synchronously and asynchronously, writing and appending to files, creating and removing directories, working with file paths, and streaming large files efficiently.
These file system skills are essential for building Node.js applications that interact with the local filesystem, from simple scripts to complex build tools and server applications.