@nest-lab/fastify-multer
v1.2.0
Published
A File Upload package for NestJS when using fastify
Downloads
42,072
Readme
@nest-lab/fastify-multer
Support for File Uploads when using the @nestjs/platform-fastify
adapter, using the fastify-multer
library.
Installation
Simple install,
npm i @nest-lab/fastify-multer
yarn add @nest-lab/fastify-multer
pnpm i @nest-lab/fastify-multer
Usage
Use this exactly like you would the MulterModule
from @nestjs/platform-express
. The only difference is there is also a NoFilesInterceptor
for when you jsut want to parse multipart/form-data
and you must have FastifyMulterModule
imported somewhere so that the multipart/form-data
content parser gets registered with fastify.