Tuesday, June 6, 2017

18/05/2017

                      Nodejs File System


File System module:
  • Read files
  • Create files
  • Update files
  • Delete files
  • Rename files
  •  
Read a file

The fs.readFile() method is used to read files.


Create files
  • fs.appendFile()
  • fs.open()
  • fs.writeFile()
  Update files
  • fs.appendFile()
  • fs.writeFile()
      Delete files

fs.unlink() 
  

Rename files

fs.rename()









                                                                                             

No comments:

Post a Comment

HTML introduction

HTML stands for Hyper Text Markup Language. HTML describes the structure of web page using markup. HTML elements are the building blo...