Completed
How to check if a file or directory exists
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Reading and Writing Files with Node.js - Node JS Beginners Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Welcome
- 3 Overview
- 4 Use the NodeJS docs
- 5 How to read a file with Node.js
- 6 How to handle uncaught errors
- 7 Async example
- 8 Path module
- 9 How to write to a file with Node.js
- 10 How to update a file with Node.js
- 11 Nested operations
- 12 Callback hell
- 13 fsPromises
- 14 Replace Callback hell with Async Await
- 15 How to delete a file with Node.js
- 16 Readstream for large files
- 17 Stream data listener
- 18 Piping data streams
- 19 How to create a directory with Node.js
- 20 How to check if a file or directory exists
- 21 How to remove a directory with Node.js