Documentation
    Preparing search index...

    NodeEnvManager is used to extract a normalized node environment by inspect the "process.env.NODE_ENV".

    • The "test" and "testing" envs are normalized to "test"
    • The "prod" and "production" envs are normalized to "production"
    • The "dev", "develop", and "development" envs are normalized to "development"
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    nodeEnvironment: string = 'unknown'

    The normalized node environment value

    Methods

    • Capture the current node env

      Returns void

      Captures and normalizes the current NODE_ENV value