Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • cwd: string
    • vars: ProcessEnv
    • tag: string

    Returns Environment

Properties

cwd: string

Current working directory

tag?: string

Tag to identify the environment (e.g. timestamp)

vars: ProcessEnv

Environment variables

FALSE: string[]

Which string values are counted as falsy by getFlag

initial: Environment

Snapshot of the earliest known process environment (at the moment this module is evaluated)

Accessors

  • get [toStringTag](): string
  • Returns string

Methods

  • Type Parameters

    • T extends boolean

    • U

    Parameters

    • name: string
    • Optional fallback: (() => T | U)
        • (): T | U
        • Returns T | U

    Returns T | U

  • Type Parameters

    • T extends number

    • U

    Parameters

    • name: string
    • Optional fallback: (() => T | U)
        • (): T | U
        • Returns T | U

    Returns T | U

  • Type Parameters

    • T extends string

    • U

    Parameters

    • name: string
    • Optional fallback: (() => T | U)
        • (): T | U
        • Returns T | U

    Returns T | U

Generated using TypeDoc