Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@volare.finance/nestjs.plugins

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volare.finance/nestjs.plugins

@volare.finance/nestjs.plugins

  • 1.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
increased by2000%
Maintainers
0
Weekly downloads
 
Created
Source

nestjs.plugins

Config module

usage

export class MyLoggerModule {
  static forRoot(options?: ConfigOptions): DynamicModule {
    return {
      module: MyLoggerModule,
      imports: [ConfigModule.forRoot(options)],
      providers: [
        {
          provide: 'MyLoggerConstant',
          useFactory: (constant: ConfigService<MyLoggerConfig>): MyLoggerConfig => constant.config(),
          inject: [ConfigService],
        },
      ],
    };
  }
}

Logger module

config

{
  "console": {
    "level": "info"
  },
  "cloudwatch": {
    "enabled": false
  }
}

Logging Levels

{
  error: 0,
  warn: 1,
  info: 2,
  http: 3,
  verbose: 4,
  debug: 5,
  silly: 6
}

AWS module

config

{
  "aws": {
    "enabled": true,
    "region": "us-east-2",
    "accessKeyId": "********************",
    "secretAccessKey": "****************************************",
    "bucket": "test-bucket",
    "acl": "public-read",
    "baseUrl": "https://test.example.org"
  }
}

Binance module

config

{
  "binance": {
    "enabled": true,
    "url": "https://data-api.binance.vision",
    "url-us": "https://api.binance.us"
  }
}

BingX module

config

{
  "bingx": {
    "enabled": true,
    "url": "https://open-api.bingx.com"
  }
}

Bitget module

config

{
  "bitget": {
    "enabled": true,
    "url": "https://api.bitget.com"
  }
}

Bybit module

config

{
  "bybit": {
    "enabled": true,
    "url": "https://api.bybit.com"
  }
}

Gate.io module

config

{
  "gate.io": {
    "enabled": true,
    "url": "https://api.gateio.ws/api/v4"
  }
}

LBank module

config

{
  "lbank": {
    "enabled": true,
    "url": "https://api.lbkex.com"
  }
}

Mexc module

config

{
  "mexc": {
    "enabled": true,
    "url": "https://api.mexc.com"
  }
}

OKX module

config

{
  "okx": {
    "enabled": true,
    "url": "https://www.okx.com",
    "url-aws": "https://aws.okx.com"
  }
}

Venkate module

config

{
  "venkate": {
    "enabled": true,
    "url": "https://openapi.venkate.io"
  }
}

CoinGecko module

config

{
  "coingecko": {
    "enabled": true,
    "url": "https://api.coingecko.com",
    "apiKey": "xxx"
  }
}

ViaBTC module

config

{
  "viabtc": {
    "enabled": true,
    "url": "http://127.0.0.1:18080/"
  }
}

Keywords

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc