reagir buffer à imagem

const img = new Buffer.from(data).toString("base64")
Enthusiastic Eagle