📅  最后修改于: 2022-03-11 15:03:09.798000             🧑  作者: Mango
代码示例1
var fs = require('fs');
fs.writeFile('new_file.txt', 'Hello content!', function (err) {
if (err) throw err;
console.log('Saved!');
});