Rush StackShopBlogEvents
Skip to main content

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

EnvironmentMap.toObject() method

Returns the keys as a plain JavaScript object similar to the object returned by the process.env API.

Signature:

toObject(): Record<string, string>;

Returns:

Record<string, string>