Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Config

Responsible to read nelso.json file and provide the contents as an object.

Hierarchy

  • Config

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _config

_config: any

Object that contains all config keys and values.

Methods

get

  • get<T>(key: string): T
  • Returns the value associated with the provided key, for example db.host, enable-logging, etc.

    Type parameters

    • T

    Parameters

    • key: string

      config key

    Returns T

Generated using TypeDoc