dotenv 17.4.2

Loads environment variables from .env file

dotenv@17.4.2 was published on 2026-04-12. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=12.

All dotenv versions · Permanent reference to 17.4.2 · Latest release

Package specifications

Version17.4.2
License declarationBSD-2-Clause
Published2026-04-12T16:41:11.574Z
Node.js requirement>=12
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size101.07 KiB
Published file count14
Package typeNot declared
ES module entryNot declared
Default entrylib/main.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars20550
Repository forks979

Install dotenv 17.4.2

npm install dotenv@17.4.2
pnpm add dotenv@17.4.2
yarn add dotenv@17.4.2

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Security-Policy9/10 — security policy file detected
Code-Review2/10 — Found 3/12 approved changesets -- score normalized to 2
Maintained10/10 — 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Binary-Artifacts10/10 — no binaries found in the repo
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Branch-Protection0/10 — branch protection not enabled on development/release branches
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness