‘fs’ Module is used to interact with the file system.
How to import fs module?
const fs = require('fs');
In my next posts, you are going to learn most of the common APIs of file system module.
Previous Next Home
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here