InterviewSolution
Saved Bookmarks
| 1. |
How we can open a file in Node JS? |
|
Answer» OPEN() FUNCTION is used to opens a file by passing a file name. Syntax : fs.open(path, flags[mode], callback) Parameters
var fs = require("fs"); // ASYNCHRONOUS - Open a File |
|