| Metric | dotenv | env-var | Difference |
|---|---|---|---|
| Weekly downloads | 130,884,526 | 618,189 | dotenv 211.7x higher |
| 12-month download growth | +122% | +144% | env-var +23 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 0 | Same |
| Unpacked size | 44 kB | 42 kB | env-var 5% smaller |
| Latest release | 18.0.3, 22 Sept 2026 | 7.5.0, 20 May 2024 | dotenv 2.3 years more recent |
| Releases, last 12 months | 11 | 0 | dotenv 11 more |
| First published | 5 Jul 2013 | 15 Apr 2016 | dotenv 2.8 years earlier |
| GitHub stars | 20,543 | 625 | dotenv 32.9x higher |
| Open issues | 0 | 6 | env-var 6 more |
| Open pull requests | 1 | 2 | env-var 1 more |
| Contributors | 120 | - | - |
| Commits, last 52 weeks | 236 | 0 | dotenv higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | CommonJS | CommonJS | Same |
| Runtimes | - | - | - |
| License | BSD-2-Clause | MIT | Differs |
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.
dotenv130.9m latest weekenv-var618.2k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
dotenv
Major versions
- 0.0.15 Jul 2013
- 1.0.014 Mar 2015
- 2.0.021 Jan 2016
- 3.0.07 Jan 2017
- 4.0.07 Jan 2017
- 5.0.029 Jan 2018
- 6.0.02 Jun 2018
- 7.0.013 Mar 2019
- 8.0.02 May 2019
- 9.0.05 May 2021
- 10.0.021 May 2021
- 11.0.011 Jan 2022
- 12.0.014 Jan 2022
- 13.0.016 Jan 2022
- 14.0.017 Jan 2022
- 15.0.031 Jan 2022
- 16.0.02 Feb 2022
- 17.0.027 Jun 2025
- 18.0.017 Sept 2026
Last 5 releases
- 18.0.322 Sept 2026
- 18.0.221 Sept 2026
- 18.0.118 Sept 2026
- 18.0.017 Sept 2026
- 17.4.212 Apr 2026
104 releases in total, 11 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
-
env-var
-
dotenv
-
env-var
-
- Need no runtime dependenciesBoth
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementdotenv: >=12; env-var: >=10 (engines field in package.json)
- Need the more recent releasedotenv (18.0.3 on 22 Sept 2026 vs 7.5.0 on 20 May 2024)
- Higher weekly npm downloadsdotenv (130.9m vs 618.2k)
- Licensedotenv: BSD-2-Clause; env-var: MIT
Each line is generated from the data above.
- dotenv vs @dotenvx/dotenvxNo search data
- dotenv vs envalidNo search data
- env-var vs envalidNo search data
- dotenv-flow vs env-varNo search data
dotenv: dotenv npm registry, dotenv npm downloads, dotenv GitHub, dotenv jsDelivr. Data fetched 25 Sept 2026.
Indexability: Indexed.