Home > @rushstack/node-core-library > EnvironmentMap > mergeFromObject

EnvironmentMap.mergeFromObject() method

Merges entries from a plain JavaScript object, such as would be used with the process.env API.

Signature:

mergeFromObject(environmentObject?: Record<string, string | undefined>): void;

Parameters

Parameter Type Description
environmentObject Record<string, string | undefined>  

Returns:

void