-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Node supports .env files natively
- with CLI parameter --env-file since 20.6.0
- with API (await process.loadEnvFile('.env');) since 20.12.0
Since v20 is only supported for six more months, and versions before that are already EOL, it might be time to switch to process.loadEnvFile instead of the dotenv package (dreaded because they now include non-silencable, misleading upselling comments in CLI output). I think "they" might have realised that their package has no use in later Node versions.
I don't fully understand the use of dotenv, but it might be time to consider switching to the native integration.
Copilot
Metadata
Metadata
Assignees
Labels
No labels