| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > EnvironmentMap
A map data structure that stores process environment variables. On Windows operating system, the variable names are case-insensitive.
Signature:
export declare class EnvironmentMap |
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
boolean |
Whether the environment variable names are case-sensitive. |
|
Method |
Modifiers |
Description |
|---|---|---|
|
Clears all entries, resulting in an empty map. | ||
|
Returns the map entries. | ||
|
Returns the value of the specified variable, or | ||
|
Adds each entry from | ||
|
Merges entries from a plain JavaScript object, such as would be used with the | ||
|
Returns the map keys, which are environment variable names. | ||
|
Assigns the variable to the specified value. A previous value will be overwritten. | ||
|
Returns the keys as a plain JavaScript object similar to the object returned by the | ||
|
Removes the key from the map, if present. |