Package
envalid
Validation for your environment variables
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 493.3k
- +56% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 months ago
- v8.2.0
- GitHub stars
- 1.6k
- 68 forks
- Open issues / PRs
- 4 / 0
- Contributors
- -
- Commits, last 52 weeks
- 28
Downloads
Last week 2026-09-15 to 2026-09-21
493,289 downloads last week, 2,559,967 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 241 in total
- Latest version
- 8.2.0, 9 Jun 20263 months ago
- First published
- 29 Nov 2012
- Last push to GitHub
- 20 Sept 20264 days before the snapshot
- Repository archived
- No
- Open issues
- 4
- Open pull requests
- 0
- Commits, last 52 weeks
- 28
- Dependents on npm
- 593
Major versions
- v8 first release 8.0.0, 20 Sept 2023
- v7 first release 7.0.0, 30 Jan 2021
- v6 first release 6.0.0, 16 Nov 2019
- v5 first release 5.0.0, 12 Apr 2019
- v4 first release 4.0.0, 26 Aug 2017
- v3 first release 3.0.0, 21 Apr 2017
- v2 first release 2.0.0, 8 Jun 2016
- v1 first release 1.0.0, 23 May 2016
- v0 first release 0.1.0, 29 Nov 2012
Recent releases
| Version | Published |
|---|---|
| 8.2.0 | 9 Jun 2026 |
| 8.1.1 | 5 Nov 2025 |
| 8.1.0 | 12 Jul 2025 |
| 8.0.0 | 20 Sept 2023 |
| 7.3.1 | 7 Apr 2022 |
| 7.3.0 | 2 Mar 2022 |
| 7.2.2 | 27 Oct 2021 |
| 7.2.1 | 16 Aug 2021 |
| 7.2.0 | 14 Aug 2021 |
| 7.1.1 | 8 Jul 2021 |
| 7.1.0 | 21 Mar 2021 |
| 7.0.0 | 30 Jan 2021 |
| 6.0.2 | 30 May 2020 |
| 6.0.1 | 1 Feb 2020 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=18
- Runtimes
- -
- Unpacked size (npm)
- 87 kB
- Dependencies (1)
tslib
npm install envalid- jsDelivr
https://cdn.jsdelivr.net/npm/envalid@8.2.0/ - unpkg
https://unpkg.com/envalid@8.2.0/ - esm.sh
https://esm.sh/envalid@8.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| convict | 883.5k | - | 6 months ago | CommonJS | convict vs envalid |
| @env-spec/parser | 8.9k | - | 6 days ago | ESM + CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| env-var | 618.2k | - | 2 years ago | CommonJS | env-var vs envalid |
| dotenv | 130.9m | - | 2 days ago | CommonJS | dotenv vs envalid |
| @varlock/vite-integration | 42.6k | - | 12 days ago | ESM only | - |
| @varlock/nextjs-integration | 16k | - | 23 days ago | CommonJS | - |
| dotenv-flow | 799.1k | - | 2 years ago | CommonJS | - |
Related
Indexability: Indexed.