1.2.0 • Published 2 years ago

@nest-lab/fastify-multer v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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.