I have an app where you can upload files. But If you upload an image I resize it and store it to filesystem. The process now with multer is:
1.-Store it in a nondynamic folder path (I can't achieve a dynamic one)
2.-If image resize and output in other folder, and delete the tmp file
2a.-If not image move tmp file
So, in this process i I get an image, I read binary to file > file to binary > binary to file.
There a manner to get the binary or the buffer of the request?