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!");
});

 

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-08-04
  • 2021-09-29
  • 2021-07-11
  • 2021-07-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案