Package
require-environment-variables
Require specific environment variables. If they don't exist, the application exits
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/require-environment-variables@2.0.0/ - unpkg
https://unpkg.com/require-environment-variables@2.0.0/ - esm.sh
https://esm.sh/require-environment-variables@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @dotenvx/primitives | 4m | - | 2 days ago | CommonJS | - |
| @dotenvx/tooling | 307.4k | - | 2 months ago | CommonJS | - |
| dotenv | 130.9m | - | 2 days ago | CommonJS | - |
| @dotenvx/dotenvx | 8.8m | - | 2 days ago | CommonJS | - |
| dotenv-json | 72.9k | - | 8 years ago | CommonJS | - |
| env-var | 618.2k | - | 2 years ago | CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| dotenv-flow | 799.1k | - | 2 years ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 1528 < 10000.