I would like to create file uploading app to box storage. I use box-sdk module to upload box. The box-sdk can access a file stream that is came from fs.createReadStream for uploading. I use multer module to access uploaded file. The multer module has memorystorage to store files. It produces a buffer string.
For uploading box, I have to convert buffer string to file stream. How can I convert it?