var fs = require('fs'); fs.writeFile(path + "test.txt", "hello world!", function(err) { if(err) { return console.log(err); } console.log("The file was saved!"); });
var fs = require('fs'); fs.writeFile(path + "test.txt", "hello world!", function(err) { if(err) { return console.log(err); } console.log("The file was saved!"); });