Skip to content
JS
Package

require-environment-variables

Require specific environment variables. If they don't exist, the application exits

v2.0.0, 20 Oct 2023MITCommonJSTypes: NoneConfigurationNode.js utilities
$ npm install require-environment-variables

Key numbers

As of 25 Sept 2026
Weekly downloads
1.5k
+77% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.0.0
GitHub stars
45
8 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
11

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.6k (18 Aug 2026)Low 495 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,528 downloads last week, 7,064 in the last month. The 12-month change of +77% 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, 20 Oct 20232 years ago
First published
-
Last push to GitHub
3 Apr 2026174 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
11
Dependents on npm
16

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.10.0
Runtimes
-
Unpacked size (npm)
2.9 kB
Dependencies (0)
None
npm install require-environment-variables
  • jsDelivrhttps://cdn.jsdelivr.net/npm/require-environment-variables@2.0.0/
  • unpkghttps://unpkg.com/require-environment-variables@2.0.0/
  • esm.shhttps://esm.sh/require-environment-variables@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@dotenvx/primitives4m-2 days agoCommonJS-
@dotenvx/tooling307.4k-2 months agoCommonJS-
dotenv130.9m-2 days agoCommonJS-
@dotenvx/dotenvx8.8m-2 days agoCommonJS-
dotenv-json72.9k-8 years agoCommonJS-
env-var618.2k-2 years agoCommonJS-
ts-dotenv23.2k-3 years agoCommonJS-
dotenv-flow799.1k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1528 < 10000.