JS Utils Kit - v0.5.1
    Preparing search index...

    Enumeration Environment

    Represents the standard runtime environments used in application development.

    This enum is typically used with process.env.NODE_ENV to determine whether the app is running in development, production, or test mode.

    if (process.env.NODE_ENV === Environment.DEV) {
    console.log('Running in development mode');
    }
    Index

    Enumeration Members

    Enumeration Members

    PROD: "production"

    Production environment ("production")

    DEV: "development"

    Development environment ("development")

    TEST: "test"

    Testing environment ("test")

    UNKNOWN: "unknown"

    Unknown or undefined environment