Skip to content

Env

Overview

Module

  • package: @aerokit/sdk/core
  • source: core/env.ts
  • last updated:

Classes

Env

get()

Retrieves the value of the environment variable with the specified name.

ts
static get(name: string): string;
ParameterTypeDescription
namestringThe name of the environment variable.

Returns

  • Type: string
  • Description: The variable's value as a string, or undefined if the variable is not set.

list()

Retrieves a map of all environment variables currently exposed to the application.

ts
static list(): EnvValues;

Returns

  • Type: EnvValues
  • Description: An EnvValues object containing all environment variables as key-value pairs.