1.0.0 • Published 12 months ago

@mrkwskiti/fluent-ffmpeg-nestjs v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago