@okcashpro/okai v0.1.7-alpha.1 / loadEnvConfig
Function: loadEnvConfig()
loadEnvConfig():
Settings
Loads environment variables from the nearest .env file in Node.js or returns configured settings in browser
Returns
Settings
Environment variables object
Throws
If no .env file is found in Node.js environment