Node.js and Express.js Simplified
/
File Management in Node.js
File Management in Node.js
https://leanpub.com/node-and-express-simplified
Types of Interfaces in the File System Module
https://leanpub.com/node-and-express-simplified
Add the Callback-Based File System Module to Your Node.js App
https://leanpub.com/node-and-express-simplified
Add the Promise-Based File System Module to Your Node.js App
https://leanpub.com/node-and-express-simplified
Important File System Module Methods for Managing Files in Node.js
https://leanpub.com/node-and-express-simplified
fs.writeFile() – Write data to a file
https://leanpub.com/node-and-express-simplified
fs.readFile() – Read a file’s content
https://leanpub.com/node-and-express-simplified
fs.appendFile() – Append data to a file
https://leanpub.com/node-and-express-simplified
fs.rename() – Rename a file or folder
https://leanpub.com/node-and-express-simplified
fs.unlink() – Delete a file or symbolic link
https://leanpub.com/node-and-express-simplified
The node:fs Module Gives You APIs to Work with a Computer’s File System
https://leanpub.com/node-and-express-simplified
Previous
Getting Started with Node.js
Up next
File Uploads in Node.js
In this chapter
File Management in Node.js
Types of Interfaces in the File System Module
Add the Callback-Based File System Module to Your Node.js App
Add the Promise-Based File System Module to Your Node.js App
Important File System Module Methods for Managing Files in Node.js
The node:fs Module Gives You APIs to Work with a Computer’s File System