@ai16z/eliza v0.1.6-alpha.4 / findNearestEnvFile
Function: findNearestEnvFile()
findNearestEnvFile(
startDir
?):any
Recursively searches for a .env file starting from the current directory and moving up through parent directories (Node.js only)
Parameters
• startDir?: any
= ...
Starting directory for the search
Returns
any
Path to the nearest .env file or null if not found