The createReadStream function in fs also may take a buffer as an input, however, it seems that fs.createReadStream()
converts that buffer to a string which ultimately must contain a file path (which seems like an important detail they should've mentioned in the docs).
Multer has a feature where instead of…
Top comments (0)