📅  最后修改于: 2022-03-11 15:02:12.900000             🧑  作者: Mango
代码示例1
const fs = require('fs');
fs.readFile('file.txt', 'utf-8', (err, data) => {
if(err) {
throw err;
}
console.log(data);
});