@mrkwskiti/fluent-ffmpeg-nestjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Fluent-ffmpeg module for NestJS

Installation

yarn add @mrkwskiti/fluent-ffmpeg-nestjs fluent-ffmpeg

yarn add --dev @types/fluent-ffmpeg

Documentation

Examples

Import module

import { Module } from '@nestjs/common';
import { FluentFfmpegModule } from '@mrkwskiti/fluent-ffmpeg-nestjs'
import { AppController } from './app.controller';

@Module({
  imports: [FluentFfmpegMedule.forRoot()],
  controllers: [AppController],
})
export class AppModule {}

Inject ffmpeg

import { Controller, Get, } from '@nestjs/common';
import { InjectFluentFfmpeg, Ffmpeg } from '@mrkwskiti/fluent-ffmpeg-nestjs'

export class AppController {
  constructor(
    @InjectFluentFfmpeg() private readonly ffmpeg: Ffmpeg
  ) {}

  // ...
}

License

MIT

Dependents (0)

Package Sidebar

Install

npm i @mrkwskiti/fluent-ffmpeg-nestjs

Weekly Downloads

210

Version

1.0.0

License

MIT

Unpacked Size

8.57 kB

Total Files

18

Last publish

Collaborators

  • mrkwskiti