| Node.js File System Part3
Node.js File System (FS) Part 3
Use of fs.Stats class Methods
To use of some fs.Stats class we will create a JavaScript file which named as main.js as below code:-
File: main.js
Once we done with the code now time is to execute this file in Node.js command prompt as given below:-
node main.js
| | |