• +91 9723535972
  • info@interviewmaterial.com

NodeJS Interview Questions and Answers

Question - Commands to work with the file from the local database.

Answer -

Var fs = require(‘fs’);

Read: fs.readFile();
Create:
fs.appendFile();
fs.open();
fs.writeFile();
Write: fs. writeFile();
Delete: fs.unlink();
Rename: fs.rename();
Update:
fs.appendFile()
fs.writeFile()

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners