Package
read-env
Transform environment variables into JSON object with sanitized values.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 56.1k
- +10% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 6 years ago
- v2.0.0
- GitHub stars
- 72
- 7 forks
- Open issues / PRs
- 0 / 3
- Contributors
- -
- Commits, last 52 weeks
- 3
Downloads
Last week 2026-09-15 to 2026-09-21
56,135 downloads last week, 194,270 in the last month. The 12-month change of +10% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.0.0, 2 Apr 20206 years ago
- First published
- -
- Last push to GitHub
- 9 Apr 2026168 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 3
- Commits, last 52 weeks
- 3
- Dependents on npm
- 27
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 43 kB
- Dependencies (2)
camelcase@types/camelcase
npm install read-env- jsDelivr
https://cdn.jsdelivr.net/npm/read-env@2.0.0/ - unpkg
https://unpkg.com/read-env@2.0.0/ - esm.sh
https://esm.sh/read-env@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| convict | 883.5k | - | 6 months ago | CommonJS | - |
| zod-config | 7.7k | - | 10 months ago | ESM + CommonJS | - |
| parse-dotenv | 6.7k | - | 6 years ago | ESM + CommonJS | - |
| @varlock/vite-integration | 42.6k | - | 12 days ago | ESM only | - |
| @varlock/nextjs-integration | 16k | - | 23 days ago | CommonJS | - |
| data-store | 26.6k | - | 7 years ago | CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| env-var | 618.2k | - | 2 years ago | CommonJS | - |
Indexability: Indexed.