dotenv-flowv4.1.0, 26 Dec 2023
Loads environment variables from `.env.[development|test|production][.local]` files
$ npm install dotenv-flowenv-varv7.5.0, 20 May 2024
Verification, sanitization, and type coercion for environment variables in Node.js
$ npm install env-var| Metric | dotenv-flow | env-var | Difference |
|---|---|---|---|
| Weekly downloads | 799,102 | 618,189 | dotenv-flow +29% |
| 12-month download growth | +89% | +144% | env-var +55 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 0 | dotenv-flow 1 more |
| Unpacked size | 59 kB | 42 kB | env-var 41% smaller |
| Latest release | 4.1.0, 26 Dec 2023 | 7.5.0, 20 May 2024 | env-var 5 months more recent |
| Releases, last 12 months | 0 | 0 | Same |
| First published | 17 May 2018 | 15 Apr 2016 | env-var 2.1 years earlier |
| GitHub stars | 902 | 625 | dotenv-flow +44% |
| Open issues | 3 | 6 | env-var 3 more |
| Open pull requests | 5 | 2 | dotenv-flow 3 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 0 | Same |
| TypeScript types | Bundled | Bundled | Same |
| Module format | CommonJS | CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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-flow785.9k latest weekenv-var618.2k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
dotenv-flow
Major versions
- 0.1.02 Aug 2018
- 1.0.04 Jun 2019
- 2.0.05 Jun 2019
- 3.0.014 Jul 2019
- 4.0.028 Sept 2023
Last 5 releases
- 4.1.026 Dec 2023
- 4.0.16 Nov 2023
- 4.0.028 Sept 2023
- 3.3.026 Aug 2023
- 3.2.027 Jun 2020
13 releases in total, 0 in the last 12 months
env-var
Major versions
- 1.0.015 Apr 2016
- 2.0.031 Jul 2016
- 3.0.014 Oct 2017
- 4.0.09 Apr 2019
- 5.0.014 Jun 2019
- 6.0.012 Feb 2020
- 7.0.011 Nov 2020
Last 5 releases
- 7.5.020 May 2024
- 7.4.29 May 2024
- 7.4.128 Aug 2023
- 7.4.021 Aug 2023
- 7.3.124 Apr 2023
47 releases in total, 0 in the last 12 months
dotenv-flow
-
env-var
-
dotenv-flow
-
env-var
-
- Need no runtime dependenciesenv-var (dotenv-flow has 1, env-var has 0)
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementdotenv-flow: >= 12.0.0; env-var: >=10 (engines field in package.json)
- Need the more recent releaseenv-var (7.5.0 on 20 May 2024 vs 4.1.0 on 26 Dec 2023)
- Higher weekly npm downloadsdotenv-flow (799.1k vs 618.2k)
Each line is generated from the data above.
- @dotenvx/dotenvx vs dotenv-flowNo search data
- dotenv-expand vs dotenv-flowNo search data
- dotenv vs env-varNo search data
- env-var vs envalidNo search data
dotenv-flow: dotenv-flow npm registry, dotenv-flow npm downloads, dotenv-flow GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.