Ross ROSS = Recommend OSS · open-source software intelligence for agents

motdotla/dotenv

Loads environment variables from .env for nodejs projects. observed · 2026-08-28

github.com/motdotla/dotenv · homepage · JavaScript · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 96
  • 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: 4807
  • days_rel: n/a
  • days_push: 29
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

20525 stars · 960 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A zero-dependency Node.js module that loads environment variables from a .env file into process.env, following the Twelve-Factor App configuration methodology. It is the de facto standard for .env file handling in the JavaScript ecosystem.

Use cases

  • load environment variables from a .env file in node
  • manage app secrets and config outside of source code
  • store api keys in a config file for a javascript project
  • configure environment-specific settings for nodejs apps
  • keep database credentials out of my git repository
  • set up twelve-factor app configuration in node

When to choose

  • you need the standard, battle-tested way to load .env files in Node.js
  • you want a zero-dependency, lightweight config loader
  • you follow twelve-factor configuration practices in JavaScript projects

When to avoid

  • you need encrypted .env files - use dotenvx instead
  • your runtime natively supports .env loading (e.g. recent Node.js --env-file or Bun)
  • you are not working in a JavaScript/Node.js ecosystem

Facets

library · maturity stable

configuration-management secrets-management developer-tools developer-tools backend security bun cross-platform dotenv env-files twelve-factor zero-dependency npm nodejs deno

3 sources

Member repositories

RepositoryRoleHealth v2
motdotla/dotenvmain75

For agents

markdown · JSON · MCP: product_card(name="motdotla/dotenv")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem