0
I’m in great doubt.
I upload files and receive them on a Node server with the help of middleware multer, the data comes something like this:
Then I take this file and save in the database the result of JSON.stringfy() from it...
When I do the query in the database what is returned me the information stored as originalName and etc, already in the buffer is returned this array:
then I would like to know how to "rebuild" the file from this data, both in Node itself and using javascript in the browser itself.
From now on, I thank you for your help.