@okcashpro/okai v0.1.7-alpha.1 / getEnvVariable
Function: getEnvVariable()
getEnvVariable(
key
,defaultValue
?):string
|undefined
Gets a specific environment variable
Parameters
• key: string
The environment variable key
• defaultValue?: string
Optional default value if key doesn't exist
Returns
string
| undefined
The environment variable value or default value