How convert an image to a base64-encoded data-URL in sails.js or generally in the servers side javascript..?
How to convert an image to a base64-encoded data-URL in sails.js or generally in the servers side javascript..?