@axonlabs/core
    Preparing search index...

    Interface AxonConfig

    interface AxonConfig {
        CORS?: AxonCorsConfig;
        DEBUG?: boolean;
        HTTPS?: AxonHttpsConfig;
        LOGGER?: boolean;
        LOGGER_VERBOSE?: boolean;
        MIDDLEWARE_TIMEOUT?: number;
        PROJECT_ENV?: "development" | "production";
        RESPONSE_MESSAGES?: AxonResponseMessage;
    }
    Index

    Properties

    Cors configuration for AxonCore.

    DEBUG?: boolean

    AxonCore debug mode.

    Https configuration for AxonCore.

    LOGGER?: boolean

    AxonCore logger.

    LOGGER_VERBOSE?: boolean

    Verboose mode of logger.

    MIDDLEWARE_TIMEOUT?: number

    A global variable to set default middleware timeout for all routes before breaking the middleware chain.

    10000ms | 10s
    
    PROJECT_ENV?: "development" | "production"

    Project environment type to manage features more secure and automatically in AxonCore.

    development
    
    RESPONSE_MESSAGES?: AxonResponseMessage

    Configuration for AxonCore custom response messages.