Briyah SDK - v2.0.6
    Preparing search index...

    Class BriyahConfigService

    Configuration service for Briyah SDK Replaces NestJS ConfigService with a simple wrapper around environment variables

    Implements

    Index
    • Get a configuration value

      Type Parameters

      • T = string

      Parameters

      • key: string

        The configuration key

      • OptionaldefaultValue: T

        Optional default value if key is not found

      Returns T

      The configuration value or default

    • Get all environment variables

      Returns Record<string, string>

      A copy of the environment variables