Options
All
  • Public
  • Public/Protected
  • All
Menu

An object representing the current system environment.

Environment variables and such may be defined here.

Hierarchy

  • SystemEnvironment

Index

Properties

Methods

Properties

envKeys

envKeys: string[]

Returns the environment keys;

Methods

getEnv

  • getEnv(key: string): string
  • Gets the value of an environment variable key.

    Parameters

    • key: string

      The key to retrieve the value from.

    Returns string

setEnv

  • setEnv(key: string, value: string): void
  • Sets an environment variable.

    Parameters

    • key: string

      The key to set.

    • value: string

      The value to assign.

    Returns void

Generated using TypeDoc