Package
dotenv-safe
Load environment variables from .env and ensure they are defined
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 192.3k
- +16% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 years ago
- v9.1.0
- GitHub stars
- 766
- 93 forks
- Open issues / PRs
- 0 / 4
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
192,342 downloads last week, 920,897 in the last month. The 12-month change of +16% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 9.1.0, 26 Feb 20242 years ago
- First published
- -
- Last push to GitHub
- 21 Jan 2026246 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 4
- Commits, last 52 weeks
- 1
- Dependents on npm
- 341
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 10 kB
- Dependencies (0)
- None
- Peer dependencies (1)
dotenv
npm install dotenv-safe- jsDelivr
https://cdn.jsdelivr.net/npm/dotenv-safe@9.1.0/ - unpkg
https://unpkg.com/dotenv-safe@9.1.0/ - esm.sh
https://esm.sh/dotenv-safe@9.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dotenv-json | 72.9k | - | 8 years ago | CommonJS | - |
| update-dotenv | 68.6k | - | 7 years ago | CommonJS | - |
| dotenv-extended | 31.6k | - | 7 months ago | CommonJS | - |
| ember-cli-dotenv | 14k | - | 2 years ago | - | - |
| rollup-plugin-dotenv | 10.7k | - | 2 years ago | ESM + CommonJS | - |
| edit-dotenv | 8.3k | - | 9 years ago | - | - |
| @dotenvx/primitives | 4m | - | 2 days ago | CommonJS | - |
| lazy-universal-dotenv | 1.3m | - | 3 years ago | - | - |
Indexability: Indexed.