How to read a file using a promise (async/await) in Node.js. ... require('path'); const filepath = path.resolve(__dirname, 'file.txt'); fs.
確定! 回上一頁