Skip to content
JS
Comparison

dotenv-expand vs dotenv-flow

ConfigurationPackage data 25 Sept 2026
dotenv-expandv1000.0.0, 29 Jul 2026

Expand environment variables using dotenv

$ npm install dotenv-expand
dotenv-flowv4.1.0, 26 Dec 2023

Loads environment variables from `.env.[development|test|production][.local]` files

$ npm install dotenv-flow
Metricdotenv-expanddotenv-flowDifference
Weekly downloads32,192,991799,102dotenv-expand 40.3x higher
12-month download growth+77%+89%dotenv-flow +13 pts
Gzip size---
Minified size---
Dependencies01dotenv-flow 1 more
Unpacked size291 kB59 kBdotenv-flow 4.9x smaller
Latest release1000.0.0, 29 Jul 20264.1.0, 26 Dec 2023dotenv-expand 2.6 years more recent
Releases, last 12 months20dotenv-expand 2 more
First published21 Jan 201617 May 2018dotenv-expand 2.3 years earlier
GitHub stars1,056902dotenv-expand +17%
Open issues03dotenv-flow 3 more
Open pull requests05dotenv-flow 5 more
Contributors31--
Commits, last 52 weeks370dotenv-expand higher
TypeScript typesBundledBundledSame
Module formatCommonJSCommonJSSame
Runtimes---
LicenseBSD-3-ClauseMITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

dotenv-expand32.2m latest weekdotenv-flow785.9k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

dotenv-expand

Major versions
  1. 0.1.021 Jan 2016
  2. 4.0.031 Mar 2017
  3. 5.0.013 Mar 2019
  4. 6.0.017 Jan 2022
  5. 7.0.02 Feb 2022
  6. 8.0.04 Feb 2022
  7. 9.0.030 Aug 2022
  8. 10.0.016 Dec 2022
  9. 11.0.010 Feb 2024
  10. 12.0.016 Nov 2024
  11. 13.0.017 Apr 2026
  12. 1000.0.029 Jul 2026
Last 5 releases
  1. 1000.0.029 Jul 2026
  2. 13.0.017 Apr 2026
  3. 12.0.32 Sept 2025
  4. 12.0.217 Apr 2025
  5. 12.0.118 Nov 2024
30 releases in total, 2 in the last 12 months

dotenv-flow

Major versions
  1. 0.1.02 Aug 2018
  2. 1.0.04 Jun 2019
  3. 2.0.05 Jun 2019
  4. 3.0.014 Jul 2019
  5. 4.0.028 Sept 2023
Last 5 releases
  1. 4.1.026 Dec 2023
  2. 4.0.16 Nov 2023
  3. 4.0.028 Sept 2023
  4. 3.3.026 Aug 2023
  5. 3.2.027 Jun 2020
13 releases in total, 0 in the last 12 months
dotenv-expand

-

dotenv-flow

-

dotenv-expand

-

dotenv-flow

-

  • Need no runtime dependenciesdotenv-expand (dotenv-expand has 0, dotenv-flow has 1)
  • Module formatBoth CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementdotenv-expand: >=16; dotenv-flow: >= 12.0.0 (engines field in package.json)
  • Need the more recent releasedotenv-expand (1000.0.0 on 29 Jul 2026 vs 4.1.0 on 26 Dec 2023)
  • Higher weekly npm downloadsdotenv-expand (32.2m vs 799.1k)
  • Licensedotenv-expand: BSD-3-Clause; dotenv-flow: MIT

Each line is generated from the data above.

dotenv-flow: dotenv-flow npm registry, dotenv-flow npm downloads, dotenv-flow GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.