Gathering detailed insights and metrics for nestjs-minio-client
Gathering detailed insights and metrics for nestjs-minio-client
Gathering detailed insights and metrics for nestjs-minio-client
Gathering detailed insights and metrics for nestjs-minio-client
minio-nestjs-client
A simple NestJS module that wraps the Minio Node.js library in a more familiar way
@nestjs-mod/minio
Minio client for NestJS-mod (Wrapper for https://www.npmjs.com/package/nestjs-minio)
signum-nestjs-minio-client
Minio module for NestJS framework
nestjs-minio-module
The better Nest.js Minio client module
npm install nestjs-minio-client
Typescript
Module System
Node Version
NPM Version
TypeScript (64.92%)
JavaScript (33.2%)
Shell (1.88%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
40 Stars
45 Commits
12 Forks
4 Watchers
7 Branches
3 Contributors
Updated on Jun 22, 2025
Latest Version
2.2.0
Package Id
nestjs-minio-client@2.2.0
Unpacked Size
14.67 kB
Size
4.59 kB
File Count
19
NPM Version
9.8.1
Node Version
18.18.2
Published on
Nov 02, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
2
Minio client for NestJs.
Yarn
1yarn add nestjs-minio-client
NPM
1npm install nestjs-minio-client --save
To use Minio client we need to register module for example in app.module.ts
1import { Module } from '@nestjs/common'; 2import { MinioModule } from 'nestjs-minio-client'; 3 4@Module({ 5imports: [ 6 MinioModule.register({ 7 endPoint: '127.0.0.1', 8 port: 9000, 9 useSSL: false, 10 accessKey: 'minio_access_key', 11 secretKey: 'minio_secret_key' 12 }) 13}) 14 15export class AppModule {}
If you are using the @nestjs/config
package from nest, you can use the ConfigModule
using the registerAsync()
function to inject your environment variables like this in your custom module:
1import { Module } from '@nestjs/common'; 2import { MinioModule } from 'nestjs-minio-client'; 3import { ConfigModule, ConfigService } from '@nestjs/config'; 4 5@Module({ 6 imports: [ 7 MinioModule.registerAsync({ 8 imports: [ConfigModule], 9 inject: [ConfigService], 10 useFactory: (config: ConfigService) => { 11 return { 12 endPoint: config.get('MINIO_ENDPOINT'), 13 port: parseInt(config.get('MINIO_PORT')), 14 useSSL: false, 15 accessKey: config.get('MINIO_ACCESS_KEY'), 16 secretKey: config.get('MINIO_SECRET_KEY'), 17 }; 18 }, 19 }), 20 ], 21 providers: [MinioClientService], 22 exports: [MinioClientService], 23}) 24export class MinioClientModule {}
After the registration connection to minio instance should be completed and ready for usage.
Example usage in service.
1import { Injectable } from '@nestjs/common'; 2import { MinioService } from 'nestjs-minio-client'; 3 4@Injectable() 5export class ContentService { 6 constructor(private readonly minioService: MinioService) {} 7 8 async listAllBuckets() { 9 return this.minioService.client.listBuckets(); 10 } 11}
For full Client API see Minio Javascript SDK reference here
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 3/15 approved changesets -- score normalized to 2
Reason
8 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More