New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webundsoehne/nest-fastify-file-upload

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webundsoehne/nest-fastify-file-upload

Port for nest's file upload for fastify adapter

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-10.22%
Maintainers
2
Weekly downloads
 
Created
Source

Web und Söhne - Logo

Web & Söhne is Austrian's leading expert in programming and implementing complex and large web projects.

Port from Nest's File Upload for Fastify Adapter!

  • IMPORTANT: when initializing Fastify Adapter you have to register fastify-multer as well!

Steps:

yarn add @webundsoehne/nest-fastify-file-upload

import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { FastifyAdapter } from '@nestjs/platform-fastify';
import * as multer from 'fastify-multer';

async function bootstrap() {
  const fastifyAdapter = new FastifyAdapter();
  fastifyAdapter.register(multer.contentParser);

  const app = await NestFactory.create(AppModule, fastifyAdapter);
  await app.listen(3000);
}
bootstrap();


const fastifyAdapter = new FastifyAdapter()
fastifyAdapter.register(

Stay in touch

Keywords

FAQs

Package last updated on 14 May 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc