dotenvx/dotenv-expand
Expand variables already on your machine for use in your .env file. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3878
- days_rel: n/a
- days_push: 35
- n_releases_24m: 0
Adoption not part of the score
1057 stars · 99 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A zero-dependency Node.js library that adds variable expansion, command substitution, and encrypted value support on top of dotenv. It lets .env files reference other environment variables, e.g. DATABASE_URL="postgres://${USERNAME}@localhost/my_database".
Use cases
- expand variables in my .env file
- reference other env vars inside dotenv values
- run shell commands from .env files
- interpolate environment variables in node config
- decrypt encrypted: values in dotenv files
- preload expanded env vars with node -r
When to avoid
- you want a full dotenv manager with encryption built in - use dotenvx instead
- you are not in a Node.js/JavaScript environment
- you only need basic .env parsing without expansion
Facets
library · maturity active
configuration-management developer-tools developer-tools backend web-development dotenv env-files variable-expansion command-substitution zero-dependency nodejs javascript
3 sources
- readme: https://github.com/dotenvx/dotenv-expand · fetched 2026-08-28 · 0fa5158e47a7
- homepage: https://dotenvx.com/open-source · fetched 2026-08-29 · 914ad0623122
- registry_npm: https://registry.npmjs.org/dotenv-expand · fetched 2026-08-29 · b677fa2e3489
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotenvx/dotenv-expand | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="dotenvx/dotenv-expand")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem