Closed unkindypie closed 3 years ago
This library, like multer, is a wrapper over busboy, it has the maximum performance.
But you need to understand that validation through DTO decorators works after the file is loaded, while validation through the limits
object when decorating @FormDataRequest
will work during file loading, which is a more performant solution.
Also, for uploading large files, you should use the FileSystemStoredFile
storage.
Thanks for the answers. Seems that your lib is the best currently available solution for using formdata with nestjs.
Is this lib ready for production? Can it handle the same load as multer does? I'm currently picking lib for my project and not sure which more suitable for production at the moment.