Nodejs module, which resizes base64 image input and returns new base64 string or saves image into filesystem