1.0.0 • Published 2 years ago

@mrkwskiti/fluent-ffmpeg-nestjs v1.0.0

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

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

1.0.0

2 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago