Code :
var fs = require('fs')
fs.readFile('readExcel.js','utf8',function(err,data){
console.log(data);
});
fs.writeFile('write.js',"console.log('File created')",function(err){
console.log("Data is saved");
});
fs.appendFile('write.js',"console.log('File created')",function(err){
console.log("Data is saved");
});
fs.unlink('write.js',function(err){
console.log("File Deleted");
});
Apply the scenarios individually as shown in the video
Video Tags:
0:00 - Introduction of FSO in javascript
1:01- Read File Method with example
3:11 - Write File Method with example
6:04 - Append File Method with example
6:59 - Unlink File Method with example
8:33 - End Tags and subscription to the channel
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
► 1. Javascript - [ Ссылка ]
► 2. Puppetter - [ Ссылка ]
► 3. Cypress - [ Ссылка ]
► 4. Tech works - [ Ссылка ]
► 5. Vbscript Basics To Advanced - [ Ссылка ]
► 6. Jmeter - [ Ссылка ]
► 7. Excel - [ Ссылка ]
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#FileSystem
#ReadAndWriteFiles
#FSO
Ещё видео!