Package
env-schema
Validate your env variables using Ajv with .env file support using Node.js built-in parseEnv
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
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
- v8 first release 8.0.0, 8 Aug 2026
- v7 first release 7.0.0, 27 Oct 2025
- v6 first release 6.0.0, 23 Jun 2024
- v5 first release 5.0.0, 23 May 2022
- v4 first release 4.0.0, 21 Mar 2022
- v3 first release 3.0.0, 5 Mar 2021
- v2 first release 2.0.0, 10 Oct 2020
- v1 first release 1.0.0, 1 Jul 2019
- v0 first release 0.1.0, 15 Feb 2019
Recent releases
| Version | Published |
|---|---|
| 8.0.0 | 8 Aug 2026 |
| 7.0.0 | 27 Oct 2025 |
| 6.1.0 | 6 Oct 2025 |
| 6.0.1 | 3 Jan 2025 |
| 6.0.0 | 23 Jun 2024 |
| 5.2.1 | 24 Oct 2023 |
| 5.2.0 | 5 Dec 2022 |
| 5.1.1 | 11 Nov 2022 |
| 5.1.0 | 28 Sept 2022 |
| 4.2.0 | 28 Sept 2022 |
| 4.1.0 | 28 Sept 2022 |
| 5.0.0 | 23 May 2022 |
| 4.0.0 | 21 Mar 2022 |
| 3.5.2 | 15 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- jsDelivr
https://cdn.jsdelivr.net/npm/env-schema@8.0.0/ - unpkg
https://unpkg.com/env-schema@8.0.0/ - esm.sh
https://esm.sh/env-schema@8.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| znv | 60.4k | - | 1 year ago | ESM + CommonJS | - |
| @julr/vite-plugin-validate-env | 26.6k | - | 6 months ago | ESM only | - |
| next-public-env | 11.1k | - | 10 months ago | ESM only | - |
Indexability: Indexed.