node.js怎么往文本文档中写入数据

2025-03-09 22:08:50
推荐回答(1个)
回答1:

node.js往文本文档中写入数据
fs.createReadStream(body).pipe(fs.createWriteStream('./public/image/doodle.png'));