Nodejs file system - Web Development

Nodejs file system

Nodejs file system allows us to work with your computer system. To work with nodejs file system you need to specifiy ‘fs’ in require() method:

Some use of file system :– To create a file , To delete a file , To update a file, To rename a file . Save this file on your folder app.js

If you run this code in your browser, It will generate this file in your folder newFile.php 

Leave a Reply

Your email address will not be published. Required fields are marked *