Package
next-public-env
Manage type-safe runtime environment variables in Next.js for both the server and the client.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/next-public-env@1.1.0/ - unpkg
https://unpkg.com/next-public-env@1.1.0/ - esm.sh
https://esm.sh/next-public-env@1.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @t3-oss/env-nextjs | 2.2m | - | 6 months ago | ESM only | - |
| znv | 60.4k | - | 1 year ago | ESM + CommonJS | - |
| @julr/vite-plugin-validate-env | 26.6k | - | 6 months ago | ESM only | - |
| env-schema | 382.7k | - | 1 month ago | CommonJS | - |
Indexability: Indexed.