Nghia Nguyen : and then you can get the base64 encoded version and also put it in html with a <img src=...>
tag like this:
Eyal Gershon : cool I thought I couldnt use btoa in node
Eyal Gershon : once again thank you so much!
Nghia Nguyen : lol i have no idea what you can or can’t use in node, i’m just testing things as I go along to be honest. But this is a method that can work for what you’re doing I think.
Eyal Gershon : yeah I see, it works great! thanks
Nghia Nguyen : btoa - npm for the node port of the browser js window.btoa
Eyal Gershon : yeah I see im using it