Overview
Learn how to read, write, update, and delete files with Node.js in this tutorial. The course covers using the Node JS file system module, creating readable and writeable streams of data, handling errors, working with large files, and directory operations. The teaching method includes practical examples and demonstrations. This course is designed for beginners interested in Node.js development.
Syllabus
Intro
Welcome
Overview
Use the NodeJS docs
How to read a file with Node.js
How to handle uncaught errors
Async example
Path module
How to write to a file with Node.js
How to update a file with Node.js
Nested operations
Callback hell
fsPromises
Replace Callback hell with Async Await
How to delete a file with Node.js
Readstream for large files
Stream data listener
Piping data streams
How to create a directory with Node.js
How to check if a file or directory exists
How to remove a directory with Node.js
Taught by
Dave Gray