| Metric | dotenv | envalid | Difference |
|---|---|---|---|
| Weekly downloads | 130,884,526 | 493,289 | dotenv 265.3x higher |
| 12-month download growth | +122% | +56% | dotenv +65 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 1 | envalid 1 more |
| Unpacked size | 44 kB | 87 kB | dotenv 2.0x smaller |
| Latest release | 18.0.3, 22 Sept 2026 | 8.2.0, 9 Jun 2026 | dotenv 3 months more recent |
| Releases, last 12 months | 11 | 2 | dotenv 9 more |
| First published | 5 Jul 2013 | 29 Nov 2012 | envalid 7 months earlier |
| GitHub stars | 20,543 | 1,592 | dotenv 12.9x higher |
| Open issues | 0 | 4 | envalid 4 more |
| Open pull requests | 1 | 0 | dotenv 1 more |
| Contributors | 120 | - | - |
| Commits, last 52 weeks | 236 | 28 | dotenv 8.4x 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 weekenvalid493.3k 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
envalid
Major versions
- 0.1.029 Nov 2012
- 1.0.023 May 2016
- 2.0.08 Jun 2016
- 3.0.021 Apr 2017
- 4.0.026 Aug 2017
- 5.0.012 Apr 2019
- 6.0.016 Nov 2019
- 7.0.030 Jan 2021
- 8.0.020 Sept 2023
Last 5 releases
- 8.2.09 Jun 2026
- 8.1.15 Nov 2025
- 8.1.012 Jul 2025
- 8.0.020 Sept 2023
- 7.3.17 Apr 2022
41 releases in total, 2 in the last 12 months
dotenv
-
envalid
-
dotenv
-
envalid
-
- Need no runtime dependenciesdotenv (dotenv has 0, envalid has 1)
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementdotenv: >=12; envalid: >=18 (engines field in package.json)
- Need the more recent releasedotenv (18.0.3 on 22 Sept 2026 vs 8.2.0 on 9 Jun 2026)
- Higher weekly npm downloadsdotenv (130.9m vs 493.3k)
- Licensedotenv: BSD-2-Clause; envalid: MIT
Each line is generated from the data above.
- dotenv vs @dotenvx/dotenvxNo search data
- dotenv vs env-varNo search data
- convict vs envalidNo search data
- env-var vs envalidNo search data
dotenv: dotenv npm registry, dotenv npm downloads, dotenv GitHub, dotenv jsDelivr. Data fetched 25 Sept 2026.
Indexability: Indexed.