АL
fs.writeFile(filePath, Buffer.from(arrayBuffer), 'binary', (err)=> {
if (err) {
console.log("There was an error writing the image")
}
else {
console.log("Written File :" + filePath)
}
}
);Я так понимаю мне это нужно. Я и спрашиваю самый удобный способ. Спасибо)