Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 476 Bytes

loadEnvConfig.md

File metadata and controls

22 lines (12 loc) · 476 Bytes

@ai16z/eliza v0.1.5-alpha.3 / 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

Defined in

packages/core/src/settings.ts:79