Base64 string to Node.js Buffer (Node.js 6+)JavaScriptNode.jsIt's just:javascriptCopyconst buf = Buffer.from(b64string, "base64");Edit this page