@ckirg/corelib - v0.4.1
    Preparing search index...

    Function getEnv

    • Gets an environment variable value in a runtime-agnostic way. Supports Node.js (process.env) and Deno (Deno.env).

      Parameters

      • key: string

        The environment variable name.

      Returns string | undefined

      The value of the environment variable, or undefined if not set.