Skip to main content

Interface: INodeEnvironmentVariables

The environment variables for the node.

Properties​

nativeModules?​

optional nativeModules?: string

Comma separated list of native modules to initialise.

Default​

"node:buffer,node:crypto,node:zlib"

extensionsMaxSizeMb?​

optional extensionsMaxSizeMb?: number

Maximum size in MB for HTTPS extensions downloads.

Default​

10

extensionsClearCache?​

optional extensionsClearCache?: boolean

Whether to clear the extensions cache on startup.

Default​

false

extensionsCacheDirectory?​

optional extensionsCacheDirectory?: string

Custom directory for extensions cache storage.

Default​

".tmp"

extensionsCacheTtlHours?​

optional extensionsCacheTtlHours?: number

TTL in hours for HTTPS extensions cache.

Default​

24

extensionsForceRefresh?​

optional extensionsForceRefresh?: boolean

Force refresh of all cached extensions.

Default​

false