Skip to content
JS
Package

dotenv-defaults

dotenv... but with defaults!

v6.0.0, 2 Feb 2026MITESM onlyTypes: BundledConfigurationNode.js utilities
$ npm install dotenv-defaults

Key numbers

As of 25 Sept 2026
Weekly downloads
986.3k
-0% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v6.0.0
GitHub stars
80
9 forks
Open issues / PRs
1 / 3
Contributors
-
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.5m (25 Nov 2025)Low 574.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

986,251 downloads last week, 4,866,579 in the last month. The 12-month change of -0% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
118 in total
Latest version
6.0.0, 2 Feb 20267 months ago
First published
5 Apr 2018
Last push to GitHub
7 Feb 2026229 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
3
Commits, last 52 weeks
4
Dependents on npm
102

Major versions

  1. v6 first release 6.0.0, 2 Feb 2026
  2. v5 first release 5.0.0, 17 Jan 2022
  3. v4 first release 4.0.0, 17 Jan 2022
  4. v3 first release 3.0.0, 17 Sept 2021
  5. v2 first release 2.0.0, 22 Jun 2020
  6. v1 first release 1.0.0, 12 Jan 2019
  7. v0 first release 0.0.1, 5 Apr 2018

Recent releases

VersionPublished
6.0.02 Feb 2026
5.0.227 Jun 2022
5.0.127 Jun 2022
5.0.017 Jan 2022
3.0.217 Jan 2022
4.0.017 Jan 2022
3.0.117 Jan 2022
3.0.017 Sept 2021
2.0.23 Jun 2021
2.0.120 Aug 2020
2.0.022 Jun 2020
1.1.122 Jan 2020
1.1.021 Jan 2020
1.0.318 Dec 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.0.0
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (1)
dotenv
npm install dotenv-defaults
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dotenv-defaults@6.0.0/
  • unpkghttps://unpkg.com/dotenv-defaults@6.0.0/
  • esm.shhttps://esm.sh/dotenv-defaults@6.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-dotenv23.2k-3 years agoCommonJS-
dotenv-flow799.1k-2 years agoCommonJS-
@dotenv-run/core45.9k-1 year agoESM + CommonJS-
@dotenv-run/webpack28.5k-1 year agoESM + CommonJS-
@dotenvx/primitives4m-2 days agoCommonJS-
@dotenvx/tooling307.4k-2 months agoCommonJS-
@ngx-env/builder29.5k-1 month ago--
cypress-dotenv47.2k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.