Packages

dotenv-expand

1000.0.0 · 29 Jul 2026BSD-3-Clause62.5M / weekRepositoryHomepagenpmAtom feed

Your version

11.0.0

major10 Feb 2024Where it was published

11.0.7 is the newest release of 11.x.

In short

1 breaking4 new1 fixed2 changed

  • Breaking

    Remove ignoreProcessEnv option (use processEnv option going forward)

Release note

Added

  • Add typings for import dotenv-expand/config

  • Support expansion of dot in env variable names like POSTGRESQL.BASE.USER

  • Add processEnv option

  • Add support for default format of ${VAR-default}

Changed

  • Do not expand prior process.env environment variables. NOTE: make sure to see updated README regarding dotenv.config({ processEnv: {} })

  • 🐞 handle $var1$var2 (#103, #104)

  • 🐞 fix fatal recursive error when variable defines value with same variable VAR=$VAR #98

Removed

  • Breaking

    Remove ignoreProcessEnv option (use processEnv option going forward)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.