To write to a file, use the writeFile() method. An example appears below: var fs = require("fs"); var path = "c:\\Temp\\Test.txt"; ...
確定! 回上一頁