Socket
Socket
Sign inDemoInstall

@nest-lab/fastify-multer

Package Overview
Dependencies
283
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nest-lab/fastify-multer

A File Upload package for NestJS when using fastify


Version published
Weekly downloads
2K
increased by6.31%
Maintainers
1
Install size
2.02 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 28 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc