Skip to content

ema / config / SystemConfig

Class: SystemConfig

Defined in: packages/ema/src/config.ts:68

System configuration.

Constructors

Constructor

ts
new SystemConfig(data_root, https_proxy): SystemConfig;

Defined in: packages/ema/src/config.ts:69

Parameters

data_root

string = ".data"

The data root directory.

https_proxy

string = ""

The HTTPS proxy.

If environment variable HTTPS_PROXY or https_proxy is set, it will be used first. If it is empty, no proxy will be used.

Returns

SystemConfig

Properties

data_root

ts
readonly data_root: string = ".data";

Defined in: packages/ema/src/config.ts:73

The data root directory.


https_proxy

ts
https_proxy: string = "";

Defined in: packages/ema/src/config.ts:80

The HTTPS proxy.

If environment variable HTTPS_PROXY or https_proxy is set, it will be used first. If it is empty, no proxy will be used.