UNPKG

@koreanpanda/inscriber

Version:

A Logger that can write logs, and print them, with full customization.

53 lines (52 loc) 2.02 kB
/**======================================================================== * ? ABOUT * @author : Cody Spratford * @email : koreanpanda345@gmail.com * @repo : https://github.com/koreanpanda345/Inscriber * @createdOn : 11/14/2020 * @description : This is the Config file of Inscriber. This handles * loading, creating, and adding configurations to "inscriber.config.json". * @since : 11/21/2020 *========================================================================**/ import { Config } from "./global"; export declare class InscriberConfig { private _test_cases; /**====================================================================== * DEFAULT CONFIG * - STUB Default Configurations * - LINK src\global.ts#config * * DESIGN NOTES * NOTE : one-file option might now work. I haven't worked to much on it. * TODO Work more on the on-file option. *======================================================================**/ private _defaultConfig; /**======================= * END OF DEFAULT CONFIG *========================**/ /**======================= * CONSTANTS *========================**/ config: {}; _config: Config; private _filename; /**======================= * END OF CONSTANTS *========================**/ /** * @summary Checks if the root folder as a config file. * @method CheckIfConfigExist */ private checkIfConfigExist; private getConfig; private createConfig; /** * @summary Loads the config into an object. * @method loadConfig * @returns {Config} */ loadConfig(): Config; private CheckPaths; UseBuilder(config: Config): void; private overwriteConfig; }