base64 до png nodejs
const fs = require("fs");
const buffer = Buffer.from(base64, "base64");
fs.writeFileSync("new-path.jpg", buffer);
MR. D
const fs = require("fs");
const buffer = Buffer.from(base64, "base64");
fs.writeFileSync("new-path.jpg", buffer);