Global constants, methods, and configuration.
The full system path to the global state folder.
The full system path to the global log file.
The global folder in which state is stored.
Creates a directory within Global.DIR, or Global.DIR itself if the dirPath param
is not provided. This is resolved or rejected when the directory creation operation has completed.
The directory path to be created within Global.DIR.
Gets the current mode environment variable as a Mode instance.
console.log(Global.getEnvironmentMode() === Mode.PRODUCTION);