UNPKG

@hyperlane-xyz/utils

Version:

General utilities and types for the Hyperlane network

11 lines 333 B
// Should be used instead of referencing process directly in case we don't // run in node.js export function safelyAccessEnvVar(name, toLowerCase = false) { try { return toLowerCase ? process.env[name]?.toLowerCase() : process.env[name]; } catch { return undefined; } } //# sourceMappingURL=env.js.map