Skip to content
JS
Package

read-env

Transform environment variables into JSON object with sanitized values.

v2.0.0, 2 Apr 2020MITESM + CommonJSTypes: BundledConfigurationNode.js utilities
$ npm install read-env

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
020k40k60kSept 2025Mar 2026Sept 2026High 59.2k (18 Aug 2026)Low 21.4k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/read-env@2.0.0/
  • unpkghttps://unpkg.com/read-env@2.0.0/
  • esm.shhttps://esm.sh/read-env@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
convict883.5k-6 months agoCommonJS-
zod-config7.7k-10 months agoESM + CommonJS-
parse-dotenv6.7k-6 years agoESM + CommonJS-
@varlock/vite-integration42.6k-12 days agoESM only-
@varlock/nextjs-integration16k-23 days agoCommonJS-
data-store26.6k-7 years agoCommonJS-
ts-dotenv23.2k-3 years agoCommonJS-
env-var618.2k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.