Skip to content
JS
Package

next-public-env

Manage type-safe runtime environment variables in Next.js for both the server and the client.

v1.1.0, 23 Nov 2025MITESM onlyTypes: BundledSchema validationReact
$ npm install next-public-env

Key numbers

As of 25 Sept 2026
Weekly downloads
11.1k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
10 months ago
v1.1.0
GitHub stars
36
3 forks
Open issues / PRs
5 / 0
Contributors
-
Commits, last 52 weeks
32

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 16.7k (8 Sept 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,112 downloads last week, 57,326 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.1.0, 23 Nov 202510 months ago
First published
-
Last push to GitHub
23 Nov 2025305 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
0
Commits, last 52 weeks
32
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.0.0
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (1)
zod
Peer dependencies (3)
zodnextreact
npm install next-public-env
  • jsDelivrhttps://cdn.jsdelivr.net/npm/next-public-env@1.1.0/
  • unpkghttps://unpkg.com/next-public-env@1.1.0/
  • esm.shhttps://esm.sh/next-public-env@1.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@t3-oss/env-nextjs2.2m-6 months agoESM only-
znv60.4k-1 year agoESM + CommonJS-
@julr/vite-plugin-validate-env26.6k-6 months agoESM only-
env-schema382.7k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.