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.
Path of the file to load
Dictionary with the contents of the config file
Generated using TypeDoc
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.