Kottster Packages API Reference
    Preparing search index...

    Function getEnvOrThrow

    • Get an environment variable or throw an error if it is not set.

      Parameters

      • key: string

        The key of the environment variable

      Returns string

      The value of the environment variable

      Error if the environment variable is not set