Find example code for most frequent file system operations in this module. Most of the code examples use the promise
-based APIs.
<= Parent
- How to Create a file
- How to Read a file
- How to write a file
- How to move a file
- How to copy file
- How to copy multiple files
- How to rename a file
- How to delete a file
- How to change the file permission
- How to change the file ownership
- How to create a symlink
- How to watch on changes to a file
- How to handle errors
- How to perform the file operations in synchronous way
- How to create a directory
- How to create a temporary directory
- How to rename a directory
- How to delete a directory