In this tutorial, we'll go over how to use the fs (file system) module that is inbuilt in Node.js
You can find the code we created during this video here:
https://github.com/XINX-Media/unblock...
Discord: / discord
Twitch: / unblockmedigital
Calendly: https://calendly.com/robbertthecoderd...
00:00 Intro
00:24 Importing fs
01:09 Reading from a file
03:17 Writing to a file
05:01 Append to a file
05:41 Newlines in a file
06:14 FS sync functions
07:08 Error handling for sync functions
07:34 Summary