Skip to content
JS
Package

envalid

Validation for your environment variables

v8.2.0, 9 Jun 2026MITCommonJSTypes: BundledConfigurationSchema validation
$ npm install envalid

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
0200k400k600k800kSept 2025Mar 2026Sept 2026High 718k (25 Aug 2026)Low 241.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v8 first release 8.0.0, 20 Sept 2023
  2. v7 first release 7.0.0, 30 Jan 2021
  3. v6 first release 6.0.0, 16 Nov 2019
  4. v5 first release 5.0.0, 12 Apr 2019
  5. v4 first release 4.0.0, 26 Aug 2017
  6. v3 first release 3.0.0, 21 Apr 2017
  7. v2 first release 2.0.0, 8 Jun 2016
  8. v1 first release 1.0.0, 23 May 2016
  9. v0 first release 0.1.0, 29 Nov 2012

Recent releases

VersionPublished
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
7.3.02 Mar 2022
7.2.227 Oct 2021
7.2.116 Aug 2021
7.2.014 Aug 2021
7.1.18 Jul 2021
7.1.021 Mar 2021
7.0.030 Jan 2021
6.0.230 May 2020
6.0.11 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/envalid@8.2.0/
  • unpkghttps://unpkg.com/envalid@8.2.0/
  • esm.shhttps://esm.sh/envalid@8.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
convict883.5k-6 months agoCommonJSconvict vs envalid
@env-spec/parser8.9k-6 days agoESM + CommonJS-
ts-dotenv23.2k-3 years agoCommonJS-
env-var618.2k-2 years agoCommonJSenv-var vs envalid
dotenv130.9m-2 days agoCommonJSdotenv vs envalid
@varlock/vite-integration42.6k-12 days agoESM only-
@varlock/nextjs-integration16k-23 days agoCommonJS-
dotenv-flow799.1k-2 years agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.