Result Size: 625 x 571
demo_fs_open.js:
x
 
var fs = require('fs');
//create an empty file named mynewfile2.txt:
fs.open('mynewfile2.txt', 'w', function (err, file) {
  if (err) throw err;
  console.log('Saved!');
});
C:\Users\My Name>node demo_fs_open.js
Saved!