Skip to content

Commit

Permalink
add to FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Nov 16, 2024
1 parent a319444 commit 266dbfc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ As of `v12.0.0` dotenv-expand no longer expands `process.env`.

If you need this ability, use [dotenvx](https://github.com/dotenvx/dotenvx) by shipping an encrypted .env file with your code - allowing safe expansion at runtime.

### How can I override an existing environment variable?

Use [dotenvx](https://github.com/dotenvx/dotenvx) as dotenv-expand does not support this.

dotenv-expand is a separate module (without knowledge of the loading of `process.env` and the `.env` file) and so cannot reliably know what to override.

## Contributing Guide

See [CONTRIBUTING.md](CONTRIBUTING.md)
Expand Down

0 comments on commit 266dbfc

Please sign in to comment.