Skip to content
JS
Package

env-schema

Validate your env variables using Ajv with .env file support using Node.js built-in parseEnv

v8.0.0, 8 Aug 2026MITCommonJSTypes: BundledSchema validationConfiguration
$ npm install env-schema

Key numbers

As of 25 Sept 2026
Weekly downloads
382.7k
+71% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 month ago
v8.0.0
GitHub stars
269
30 forks
Open issues / PRs
2 / 1
Contributors
-
Commits, last 52 weeks
24

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 534.6k (25 Aug 2026)Low 131.9k (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.

382,671 downloads last week, 1,707,234 in the last month. The 12-month change of +71% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
328 in total
Latest version
8.0.0, 8 Aug 20261 month ago
First published
15 Feb 2019
Last push to GitHub
8 Aug 202647 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
1
Commits, last 52 weeks
24
Dependents on npm
53

Major versions

  1. v8 first release 8.0.0, 8 Aug 2026
  2. v7 first release 7.0.0, 27 Oct 2025
  3. v6 first release 6.0.0, 23 Jun 2024
  4. v5 first release 5.0.0, 23 May 2022
  5. v4 first release 4.0.0, 21 Mar 2022
  6. v3 first release 3.0.0, 5 Mar 2021
  7. v2 first release 2.0.0, 10 Oct 2020
  8. v1 first release 1.0.0, 1 Jul 2019
  9. v0 first release 0.1.0, 15 Feb 2019

Recent releases

VersionPublished
8.0.08 Aug 2026
7.0.027 Oct 2025
6.1.06 Oct 2025
6.0.13 Jan 2025
6.0.023 Jun 2024
5.2.124 Oct 2023
5.2.05 Dec 2022
5.1.111 Nov 2022
5.1.028 Sept 2022
4.2.028 Sept 2022
4.1.028 Sept 2022
5.0.023 May 2022
4.0.021 Mar 2022
3.5.215 Jan 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
38 kB
Dependencies (1)
ajv
npm install env-schema
  • jsDelivrhttps://cdn.jsdelivr.net/npm/env-schema@8.0.0/
  • unpkghttps://unpkg.com/env-schema@8.0.0/
  • esm.shhttps://esm.sh/env-schema@8.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
znv60.4k-1 year agoESM + CommonJS-
@julr/vite-plugin-validate-env26.6k-6 months agoESM only-
next-public-env11.1k-10 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.