https://github.com/fdorantesm/nestjs-elastic-transcoder
A AWS Elastic Transcoder module for NestJS created using ChatGPT
https://github.com/fdorantesm/nestjs-elastic-transcoder
aws aws-elastic-transcoder chat-gpt elastic-transcoder nestjs-elastic-transcoder
Last synced: 25 days ago
JSON representation
A AWS Elastic Transcoder module for NestJS created using ChatGPT
- Host: GitHub
- URL: https://github.com/fdorantesm/nestjs-elastic-transcoder
- Owner: fdorantesm
- License: mit
- Created: 2023-03-16T03:23:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T06:12:44.000Z (about 3 years ago)
- Last Synced: 2025-08-09T11:59:35.945Z (10 months ago)
- Topics: aws, aws-elastic-transcoder, chat-gpt, elastic-transcoder, nestjs-elastic-transcoder
- Language: TypeScript
- Homepage: https://npmjs.com/package/nestjs-elastic-transcoder
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# NestJS Elastic Transcoder
### forRoot method
```ts
@Module({
imports: [
ElasticTranscoderModule.forRoot({
accessKeyId: '',
region: '',
secretAccessKey: ''
})
]
})
export class AppModule {}
```
### forRootAsync method
```ts
@Module({
imports: [
ElasticTranscoderModule.forRootAsync({
imports: [ConfigModule.forFeature(elasticTranscoderLoader)],
inject: [ConfigService],
useFactory(configService: ConfigService) {
return {
accessKeyId: configService.get('accessKeyId'),
region: configService.get('region'),
secretAccessKey: configService.get('secretAccessKey')
};
}
})
]
})
export class AppModule {}
```
### forFeature method
```ts
@Module({
imports: [
ElasticTranscoderModule.forFeature()
]
})
export class VideosModule {}
```