Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "LoadConfigFile"

Index

Functions

Functions

LoadConfigFile

  • Reads the content of a config file from disk and parses it. Supported file types are JSON, YAML and Hjson.

    Note that this function is designed to read the files synchronously, as it's meant to be executed only once at startup time.

    Parameters

    • filename: string

      Path of the file to load

    Returns ConfigStore

    Dictionary with the contents of the config file

Generated using TypeDoc