How to Convert Uploaded Image to Base64 in Node.js
In this post we will be discussing about how to convert an uploaded image to base64 string in Node.js. In my previous posts we have discussed about File Upload in Node.js, where we have saved our image into the file system. Now lets say instead of saving into a file system you want your file data to be stored as base64 in the database.
Coding Defined