如何使用Node寫入文件. 在Node.js中寫入文件的最簡單方法是使用 fs.writeFile() API。 例子:. const fs = require('fs'). const content = 'Some content!'.
確定! 回上一頁