Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Feb 28, 2024
1 parent 1a1cea1 commit ff7e2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ As early as possible in your application, import and configure dotenv and then e
const dotenv = require('dotenv')
const dotenvExpand = require('dotenv-expand')

dotenvExpand(dotenv.config())
dotenvExpand.expand(dotenv.config())

console.log(process.env) // remove this after you've confirmed it is expanding
```

That's it. `process.env` now has the expanded keys and values you defined in your `.env` file.

```
dotenvExpand(dotenv.config())
dotenvExpand.expand(dotenv.config())
...
Expand Down

0 comments on commit ff7e2ef

Please sign in to comment.