JS Utils Kit
    Preparing search index...

    Function setEnv

    • Set or update an environment variable.

      Parameters

      • k: string

        Environment variable name

      • v: string

        Value to assign

      Returns void

      This function writes a value to the environment map. If the variable already exists, it will be overwritten.

      setEnv("NODE_ENV", "production");