Node.js 的fs module ,是用來操作實體檔案,可以同步或非同步存取檔案系統操作。 ... readFileSync('dummyfile.txt', 'utf8'); console.log(data); ...
確定! 回上一頁