1.读取文件(fs.readFile)
2.写入文件(fs.writeFile) //修改跟写入是一个概念
3.流程:引入fs模块-->调用方法-->异常捕获
转载于:https://www.cnblogs.com/Afanty/p/6924182.html